]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/keyword-type-as-identifier.stderr
Merge commit '7c21f91b15b7604f818565646b686d90f99d1baf' into clippyup
[rust.git] / src / test / ui / parser / keyword-type-as-identifier.stderr
1 error: expected identifier, found keyword `type`
2   --> $DIR/keyword-type-as-identifier.rs:4:9
3    |
4 LL |     let type = "foo";
5    |         ^^^^ expected identifier, found keyword
6    |
7 help: escape `type` to use it as an identifier
8    |
9 LL |     let r#type = "foo";
10    |         ++
11
12 error: aborting due to previous error
13