]> git.lizzy.rs Git - rust.git/blob - src/test/ui/where-clauses/where-equality-constraints.stderr
Rollup merge of #53271 - llogiq:simplify-maybe-map, r=joshtriplett
[rust.git] / src / test / ui / where-clauses / where-equality-constraints.stderr
1 error: equality constraints are not yet supported in where clauses (#20041)
2   --> $DIR/where-equality-constraints.rs:11:14
3    |
4 LL | fn f() where u8 = u16 {}
5    |              ^^^^^^^^
6
7 error: equality constraints are not yet supported in where clauses (#20041)
8   --> $DIR/where-equality-constraints.rs:13:14
9    |
10 LL | fn g() where for<'a> &'static (u8,) == u16, {}
11    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to 2 previous errors
14