rust/src/test/ui/parser/keyword-trait-as-identifier.stderr
2018-10-21 14:06:28 +03:00

9 lines
254 B
Plaintext

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