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

9 lines
243 B
Plaintext
Raw Normal View History

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