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