]> git.proxmox.com Git - rustc.git/blame - src/test/ui/pptypedef.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / pptypedef.stderr
CommitLineData
b7449926 1error[E0308]: mismatched types
0731742a 2 --> $DIR/pptypedef.rs:4:37
b7449926
XL
3 |
4LL | let_in(3u32, |i| { assert!(i == 3i32); });
60c5eb7d 5 | ^^^^ expected `u32`, found `i32`
e74abb32 6 |
48663c56
XL
7help: change the type of the numeric literal from `i32` to `u32`
8 |
9LL | let_in(3u32, |i| { assert!(i == 3u32); });
c295e0f8 10 | ~~~
b7449926
XL
11
12error[E0308]: mismatched types
0731742a 13 --> $DIR/pptypedef.rs:8:37
b7449926
XL
14 |
15LL | let_in(3i32, |i| { assert!(i == 3u32); });
60c5eb7d 16 | ^^^^ expected `i32`, found `u32`
e74abb32 17 |
48663c56
XL
18help: change the type of the numeric literal from `u32` to `i32`
19 |
20LL | let_in(3i32, |i| { assert!(i == 3i32); });
c295e0f8 21 | ~~~
b7449926
XL
22
23error: aborting due to 2 previous errors
24
25For more information about this error, try `rustc --explain E0308`.