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

9 lines
268 B
Plaintext
Raw Normal View History

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