summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/keyword-override.stderr
blob: cdb5736866d31887414febce71a7e6dc56643b8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: expected identifier, found reserved keyword `override`
  --> $DIR/keyword-override.rs:2:9
   |
LL |     let override = ();
   |         ^^^^^^^^ expected identifier, found reserved keyword
   |
help: escape `override` to use it as an identifier
   |
LL |     let r#override = ();
   |         ++

error: aborting due to previous error