rust/tests/ui/const-generics/issues/issue-79674.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
728 B
Plaintext
Raw Normal View History

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`
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
| ----------------- required by a bound in this
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`.