1
Fork 0

parser: gracefully handle fn foo(A | B: type).

This commit is contained in:
Mazdak Farrokhzad 2019-08-25 04:39:28 +02:00
parent 083963e58c
commit 1caaa40768
23 changed files with 125 additions and 97 deletions

View file

@ -1,4 +1,4 @@
fn f(+x: isize) {}
//~^ ERROR expected argument name, found `+`
//~^ ERROR expected parameter name, found `+`
fn main() {}