diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-07-02 06:30:21 +0200 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-07-30 10:55:45 +0200 |
| commit | 758931948f3bd1a871133777279fbf5c8cebea8f (patch) | |
| tree | 1c31e519c172ab51222ac07635cd7a30fb342121 /src/libsyntax/util | |
| parent | 4eeaaa722d6ac6d24de6e4d3faefb7c44e674b37 (diff) | |
Unsupport the await!(..) macro.
Diffstat (limited to 'src/libsyntax/util')
| -rw-r--r-- | src/libsyntax/util/parser.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/util/parser.rs b/src/libsyntax/util/parser.rs index 1e52186a106..d71358f45c4 100644 --- a/src/libsyntax/util/parser.rs +++ b/src/libsyntax/util/parser.rs @@ -382,7 +382,7 @@ pub fn contains_exterior_struct_lit(value: &ast::Expr) -> bool { // X { y: 1 } + X { y: 2 } contains_exterior_struct_lit(&lhs) || contains_exterior_struct_lit(&rhs) } - ast::ExprKind::Await(_, ref x) | + ast::ExprKind::Await(ref x) | ast::ExprKind::Unary(_, ref x) | ast::ExprKind::Cast(ref x, _) | ast::ExprKind::Type(ref x, _) | |
