fork/rust

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

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

master
737 B20 linesraw
1error[E0308]: mismatched types
2  --> $DIR/issue-79674.rs:26:5
3   |
4LL |     requires_distinct("str", 12);
5   |     ^^^^^^^^^^^^^^^^^ expected `true`, found `false`
6   |
7   = note: expected constant `true`
8              found constant `false`
9note: required by a bound in `requires_distinct`
10  --> $DIR/issue-79674.rs:23:37
11   |
12LL | fn requires_distinct<A, B>(_a: A, _b: B) where
13   |    ----------------- required by a bound in this function
14LL |     A: MiniTypeId, B: MiniTypeId,
15LL |     Lift<{is_same_type::<A, B>()}>: IsFalse {}
16   |                                     ^^^^^^^ required by this bound in `requires_distinct`
17
18error: aborting due to previous error
19
20For more information about this error, try `rustc --explain E0308`.