Allow 'default async fn' to parse.

This commit is contained in:
Mazdak Farrokhzad 2019-08-20 18:10:43 +02:00
parent 51879c3aba
commit 7ee4f1da8c
2 changed files with 15 additions and 0 deletions

View file

@ -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,