]> git.proxmox.com Git - rustc.git/blob - src/test/ui/type/type-mismatch-multiple.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / type / type-mismatch-multiple.stderr
1 error[E0308]: mismatched types
2 --> $DIR/type-mismatch-multiple.rs:3:27
3 |
4 LL | fn main() { let a: bool = 1; let b: i32 = true; }
5 | ---- ^ expected `bool`, found integer
6 | |
7 | expected due to this
8
9 error[E0308]: mismatched types
10 --> $DIR/type-mismatch-multiple.rs:3:43
11 |
12 LL | fn main() { let a: bool = 1; let b: i32 = true; }
13 | --- ^^^^ expected `i32`, found `bool`
14 | |
15 | expected due to this
16
17 error: aborting due to 2 previous errors
18
19 For more information about this error, try `rustc --explain E0308`.