]> git.lizzy.rs Git - rust.git/blob - tests/ui/where-clauses/where-equality-constraints.stderr
Don't resolve type var roots in point_at_expr_source_of_inferred_type
[rust.git] / tests / ui / where-clauses / where-equality-constraints.stderr
1 error: equality constraints are not yet supported in `where` clauses
2   --> $DIR/where-equality-constraints.rs:1:14
3    |
4 LL | fn f() where u8 = u16 {}
5    |              ^^^^^^^^ not supported
6    |
7    = note: see issue #20041 <https://github.com/rust-lang/rust/issues/20041> for more information
8
9 error: equality constraints are not yet supported in `where` clauses
10   --> $DIR/where-equality-constraints.rs:3:14
11    |
12 LL | fn g() where for<'a> &'static (u8,) == u16, {}
13    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not supported
14    |
15    = note: see issue #20041 <https://github.com/rust-lang/rust/issues/20041> for more information
16
17 error: aborting due to 2 previous errors
18