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