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

9 lines
253 B
Plaintext

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