fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0308]: mismatched types 2 --> $DIR/obligation-cause.rs:20:5 3 | 4LL | g::<usize>(); 5 | ^^^^^^^^^^ expected `false`, found `true` 6 | 7 = note: expected constant `false` 8 found constant `true` 9note: required by a bound in `g` 10 --> $DIR/obligation-cause.rs:13:44 11 | 12LL | fn g<T>() 13 | - required by a bound in this function 14... 15LL | Is<{ std::mem::size_of::<T>() == 0 }>: True, 16 | ^^^^ required by this bound in `g` 17 18error: aborting due to previous error 19 20For more information about this error, try `rustc --explain E0308`.