2019-12-22 12:18:49 -06:00
|
|
|
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
|
2019-12-22 12:18:49 -06:00
|
|
|
|
|
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
|
|
|
|
2019-12-22 12:18:49 -06: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
|
2019-12-22 12:18:49 -06:00
|
|
|
|
|
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
|
|
|
|
|