parser: fuse free fn
parsing together.
This commit is contained in:
parent
36a17e4067
commit
a833be2162
28 changed files with 181 additions and 185 deletions
|
@ -2,5 +2,4 @@
|
|||
// compile-flags: --crate-type lib
|
||||
|
||||
pub const async fn x() {}
|
||||
//~^ ERROR expected identifier, found keyword `async`
|
||||
//~^^ expected `:`, found keyword `fn`
|
||||
//~^ ERROR functions cannot be both `const` and `async`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue