diff --git a/src/libsyntax/ast.rs b/src/libsyntax/ast.rs index 334fcfd74f357..a20bf91a6ad43 100644 --- a/src/libsyntax/ast.rs +++ b/src/libsyntax/ast.rs @@ -1137,6 +1137,7 @@ pub enum ExprKind { Lit(Lit), /// A cast (e.g., `foo as f64`). Cast(P, P), + /// A type ascription (e.g., `42: usize`). Type(P, P), /// An `if` block, with an optional `else` block. ///