1
Fork 0

syntax: Make is_path_start precise and improve some error messages about unexpected tokens

This commit is contained in:
Vadim Petrochenkov 2016-04-21 02:03:29 +03:00
parent 6c44bea644
commit a97f60ee86
25 changed files with 88 additions and 73 deletions

View file

@ -10,4 +10,4 @@
// compile-flags: -Z parse-only
fn f(+x: isize) {} //~ ERROR unexpected token: `+`
fn f(+x: isize) {} //~ ERROR expected pattern, found `+`