]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/keyword-match-as-identifier.stderr
Rollup merge of #92735 - GuillaumeGomez:crate-filter-url-param, r=jsha
[rust.git] / src / test / ui / parser / keyword-match-as-identifier.stderr
1 error: expected identifier, found keyword `match`
2   --> $DIR/keyword-match-as-identifier.rs:4:9
3    |
4 LL |     let match = "foo";
5    |         ^^^^^ expected identifier, found keyword
6    |
7 help: escape `match` to use it as an identifier
8    |
9 LL |     let r#match = "foo";
10    |         ++
11
12 error: aborting due to previous error
13