rust/src/test/ui/parser/keyword-try-as-identifier-edition2018.stderr

9 lines
274 B
Plaintext
Raw Normal View History

2018-10-20 15:36:17 -05:00
error: expected pattern, found reserved keyword `try`
--> $DIR/keyword-try-as-identifier-edition2018.rs:14:9
|
LL | let try = "foo"; //~ error: expected pattern, found reserved keyword `try`
| ^^^ expected pattern
error: aborting due to previous error