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

9 lines
190 B
Plaintext
Raw Normal View History

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