Files
rust/tests/ui/where-clauses/where-equality-constraints.stderr

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

19 lines
675 B
Plaintext
Raw Normal View History

error: equality constraints are not yet supported in `where` clauses
2018-12-25 08:56:47 -07:00
--> $DIR/where-equality-constraints.rs:1:14
2018-08-08 14:28:26 +02:00
|
LL | fn f() where u8 = u16 {}
2019-12-12 21:15:19 -08:00
| ^^^^^^^^ not supported
|
2020-02-07 13:07:02 +01:00
= note: see issue #20041 <https://github.com/rust-lang/rust/issues/20041> for more information
2018-08-08 14:28:26 +02:00
error: equality constraints are not yet supported in `where` clauses
2018-12-25 08:56:47 -07:00
--> $DIR/where-equality-constraints.rs:3:14
2018-08-08 14:28:26 +02:00
|
LL | fn g() where for<'a> &'static (u8,) == u16, {}
2019-12-12 21:15:19 -08:00
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not supported
|
2020-02-07 13:07:02 +01:00
= note: see issue #20041 <https://github.com/rust-lang/rust/issues/20041> for more information
2018-08-08 14:28:26 +02:00
error: aborting due to 2 previous errors