1 error[E0308]: mismatched types
2 --> $DIR/equality2.rs:35:18
4 LL | let _: u32 = hide(0_u32);
5 | ^^^^^^^^^^^ expected u32, found opaque type
7 = note: expected type `u32`
10 error[E0308]: mismatched types
11 --> $DIR/equality2.rs:41:18
13 LL | let _: i32 = Leak::leak(hide(0_i32));
14 | ^^^^^^^^^^^^^^^^^^^^^^^ expected i32, found associated type
16 = note: expected type `i32`
17 found type `<impl Foo as Leak>::T`
19 error[E0308]: mismatched types
20 --> $DIR/equality2.rs:48:10
23 | ^^^ expected u32, found i32
25 = note: expected type `impl Foo` (u32)
26 found type `impl Foo` (i32)
28 error[E0308]: mismatched types
29 --> $DIR/equality2.rs:51:10
32 | ^^^ expected i32, found u32
34 = note: expected type `impl Foo` (i32)
35 found type `impl Foo` (u32)
37 error: aborting due to 4 previous errors
39 For more information about this error, try `rustc --explain E0308`.