diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-08-20 18:10:43 +0200 |
|---|---|---|
| committer | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-08-20 22:57:23 +0200 |
| commit | 7ee4f1da8c75b44501c01fb3e754c1732dad76c3 (patch) | |
| tree | 6a7a177f30197c9ff35613712a9b9bbd0b52e5f7 /src/libsyntax | |
| parent | 51879c3abaedb926739095d19a2af638ee6a07d8 (diff) | |
| download | rust-7ee4f1da8c75b44501c01fb3e754c1732dad76c3.tar.gz rust-7ee4f1da8c75b44501c01fb3e754c1732dad76c3.zip | |
Allow 'default async fn' to parse.
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/parse/parser/item.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsyntax/parse/parser/item.rs b/src/libsyntax/parse/parser/item.rs index 72819c99660..03d7e922123 100644 --- a/src/libsyntax/parse/parser/item.rs +++ b/src/libsyntax/parse/parser/item.rs @@ -825,6 +825,7 @@ impl<'a> Parser<'a> { self.is_keyword_ahead(1, &[ kw::Impl, kw::Const, + kw::Async, kw::Fn, kw::Unsafe, kw::Extern, |
