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

error: aborting due to previous error