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

9 lines
194 B
Plaintext
Raw Normal View History

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