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