fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
610 B20 linesraw
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`.