summary refs log tree commit diff
path: root/src/test/ui/parser/keyword-final.stderr
blob: f2edc3fa6b923f74ca82f46ae768a7b8645c048a (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: you can escape reserved keywords to use them as identifiers
   |
LL |     let r#final = ();
   |         ~~~~~~~

error: aborting due to previous error