summary refs log tree commit diff
path: root/src/test/ui/parser/bad-value-ident-false.stderr
blob: 9ddca101567ff9ae0d5037f9db2bfad3e5fafa8c (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() { }
   |    ^^^^^ expected identifier, found keyword
help: you can escape reserved keywords to use them as identifiers
   |
LL | fn r#false() { }
   |    ^^^^^^^

error: aborting due to previous error