summary refs log tree commit diff
path: root/src/test/ui/parser/keyword-abstract.stderr
blob: 730c5b64b5b7dba387d93e2b0723f9ca51ea5899 (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