summary refs log tree commit diff
path: root/src/test/ui/parser/bad-value-ident-false.stderr
blob: 69a496f3a0c39f656eb90eac2d7d382645931483 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error: expected identifier, found keyword `false`
  --> $DIR/bad-value-ident-false.rs:1:4
   |
LL | fn false() { } //~ ERROR expected identifier, found keyword `false`
   |    ^^^^^ expected identifier, found keyword
help: you can escape reserved keywords to use them as identifiers
   |
LL | fn r#false() { } //~ ERROR expected identifier, found keyword `false`
   |    ^^^^^^^

error: aborting due to previous error