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

9 lines
253 B
Plaintext
Raw Normal View History

2018-10-20 15:36:17 -05:00
error: expected pattern, found keyword `while`
2018-12-25 09:56:47 -06:00
--> $DIR/keyword-while-as-identifier.rs:6:9
2018-10-20 15:36:17 -05:00
|
LL | let while = "foo"; //~ error: expected pattern, found keyword `while`
| ^^^^^ expected pattern
error: aborting due to previous error