2021-12-08 16:25:52 -06:00
|
|
|
error[E0308]: mismatched types
|
|
|
|
--> $DIR/issue-79674.rs:26:5
|
|
|
|
|
|
|
|
|
LL | requires_distinct("str", 12);
|
|
|
|
| ^^^^^^^^^^^^^^^^^ expected `true`, found `false`
|
|
|
|
|
|
2022-08-11 21:00:37 -05:00
|
|
|
= note: expected constant `true`
|
|
|
|
found constant `false`
|
2022-08-11 22:13:45 -05:00
|
|
|
note: required by a bound in `requires_distinct`
|
|
|
|
--> $DIR/issue-79674.rs:23:37
|
|
|
|
|
|
|
|
|
LL | fn requires_distinct<A, B>(_a: A, _b: B) where
|
2023-02-20 23:21:07 -06:00
|
|
|
| ----------------- required by a bound in this function
|
2022-08-11 22:13:45 -05:00
|
|
|
LL | A: MiniTypeId, B: MiniTypeId,
|
|
|
|
LL | Lift<{is_same_type::<A, B>()}>: IsFalse {}
|
|
|
|
| ^^^^^^^ required by this bound in `requires_distinct`
|
2021-12-08 16:25:52 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|