rust/src/test/ui/parser/keyword-try-as-identifier-edition2018.stderr
Vadim Petrochenkov fa72a81bea Update tests
2019-03-11 23:10:26 +03:00

9 lines
215 B
Plaintext

error: expected pattern, found reserved keyword `try`
--> $DIR/keyword-try-as-identifier-edition2018.rs:4:9
|
LL | let try = "foo";
| ^^^ expected pattern
error: aborting due to previous error