summary refs log tree commit diff
path: root/src/test/ui/parser/keyword-abstract.stderr
blob: b355b3a708d4531fa5d0110645a004196121b3f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: expected identifier, found reserved keyword `abstract`
  --> $DIR/keyword-abstract.rs:2:9
   |
LL |     let abstract = ();
   |         ^^^^^^^^ expected identifier, found reserved keyword
   |
help: you can escape reserved keywords to use them as identifiers
   |
LL |     let r#abstract = ();
   |         ^^^^^^^^^^

error: aborting due to previous error