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

9 lines
248 B
Plaintext
Raw Normal View History

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