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

9 lines
253 B
Plaintext
Raw Normal View History

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