]> git.lizzy.rs Git - rust.git/blob - src/test/ui/keyword/keyword-false-as-identifier.stderr
Move parse-fail tests to UI
[rust.git] / src / test / ui / keyword / keyword-false-as-identifier.stderr
1 error[E0308]: mismatched types
2   --> $DIR/keyword-false-as-identifier.rs:12:9
3    |
4 LL |     let false = 22; //~ error: mismatched types
5    |         ^^^^^ expected integral variable, found bool
6    |
7    = note: expected type `{integer}`
8               found type `bool`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.