Allow 'default async fn' to parse.
This commit is contained in:
parent
51879c3aba
commit
7ee4f1da8c
2 changed files with 15 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue