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

9 lines
202 B
Plaintext
Raw Normal View History

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