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

9 lines
190 B
Plaintext

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