]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/bad-value-ident-true.stderr
Add 'compiler/rustc_codegen_cranelift/' from commit '793d26047f994e23415f8f6bb5686ff2...
[rust.git] / src / test / ui / parser / bad-value-ident-true.stderr
1 error: expected identifier, found keyword `true`
2   --> $DIR/bad-value-ident-true.rs:1:4
3    |
4 LL | fn true() { }
5    |    ^^^^ expected identifier, found keyword
6    |
7 help: you can escape reserved keywords to use them as identifiers
8    |
9 LL | fn r#true() { }
10    |    ^^^^^^
11
12 error: aborting due to previous error
13