rust/src/test/ui/parser/keyword-trait-as-identifier.stderr
2018-12-25 21:08:33 -07:00

9 lines
253 B
Plaintext

error: expected pattern, found keyword `trait`
--> $DIR/keyword-trait-as-identifier.rs:6:9
|
LL | let trait = "foo"; //~ error: expected pattern, found keyword `trait`
| ^^^^^ expected pattern
error: aborting due to previous error