summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/bad-value-ident-false.stderr
blob: 30c05ecf30a9949768d28c80fe169410fd79836a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: expected identifier, found keyword `false`
  --> $DIR/bad-value-ident-false.rs:1:4
   |
LL | fn false() { }
   |    ^^^^^ expected identifier, found keyword
   |
help: escape `false` to use it as an identifier
   |
LL | fn r#false() { }
   |    ++

error: aborting due to previous error