fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error[E0308]: mismatched types 2 --> $DIR/equality2.rs:25:18 3 | 4LL | let _: u32 = hide(0_u32); 5 | --- ^^^^^^^^^^^ expected `u32`, found opaque type 6 | | 7 | expected due to this 8 | 9 = note: expected type `u32` 10 found opaque type `impl Foo` 11 12error[E0308]: mismatched types 13 --> $DIR/equality2.rs:31:18 14 | 15LL | let _: i32 = Leak::leak(hide(0_i32)); 16 | --- ^^^^^^^^^^^^^^^^^^^^^^^ expected `i32`, found associated type 17 | | 18 | expected due to this 19 | 20 = note: expected type `i32` 21 found associated type `<impl Foo as Leak>::T` 22 = note: consider constraining the associated type `<impl Foo as Leak>::T` to `i32` 23 = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html 24 25error[E0308]: mismatched types 26 --> $DIR/equality2.rs:38:10 27 | 28LL | x = (x.1, 29 | ^^^ expected `u32`, found `i32` 30 | 31 = note: expected opaque type `impl Foo` (`u32`) 32 found opaque type `impl Foo` (`i32`) 33 34error[E0308]: mismatched types 35 --> $DIR/equality2.rs:41:10 36 | 37LL | x.0); 38 | ^^^ expected `i32`, found `u32` 39 | 40 = note: expected opaque type `impl Foo` (`i32`) 41 found opaque type `impl Foo` (`u32`) 42 43error: aborting due to 4 previous errors 44 45For more information about this error, try `rustc --explain E0308`.