fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
675 B18 linesraw
1error: equality constraints are not yet supported in `where` clauses
2  --> $DIR/where-equality-constraints.rs:1:14
3   |
4LL | 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
9error: equality constraints are not yet supported in `where` clauses
10  --> $DIR/where-equality-constraints.rs:3:14
11   |
12LL | 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
17error: aborting due to 2 previous errors
18