1 error[E0308]: mismatched types
2 --> $DIR/pptypedef.rs:4:37
4 LL | let_in(3u32, |i| { assert!(i == 3i32); });
5 | ^^^^ expected `u32`, found `i32`
7 help: change the type of the numeric literal from `i32` to `u32`
9 LL | let_in(3u32, |i| { assert!(i == 3u32); });
12 error[E0308]: mismatched types
13 --> $DIR/pptypedef.rs:8:37
15 LL | let_in(3i32, |i| { assert!(i == 3u32); });
16 | ^^^^ expected `i32`, found `u32`
18 help: change the type of the numeric literal from `u32` to `i32`
20 LL | let_in(3i32, |i| { assert!(i == 3i32); });
23 error: aborting due to 2 previous errors
25 For more information about this error, try `rustc --explain E0308`.