]> git.proxmox.com Git - rustc.git/blob - src/test/ui/where-clauses/where-equality-constraints.stderr
New upstream version 1.66.0+dfsg1
[rustc.git] / src / test / 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