]> git.lizzy.rs Git - rust.git/blob - tests/ui/parser/keyword-enum-as-identifier.stderr
Rollup merge of #106715 - BoxyUwU:new_solver_triagebot, r=lcnr
[rust.git] / tests / ui / parser / keyword-enum-as-identifier.stderr
1 error: expected identifier, found keyword `enum`
2   --> $DIR/keyword-enum-as-identifier.rs:4:9
3    |
4 LL |     let enum = "foo";
5    |         ^^^^ expected identifier, found keyword
6    |
7 help: escape `enum` to use it as an identifier
8    |
9 LL |     let r#enum = "foo";
10    |         ++
11
12 error: aborting due to previous error
13