fork/rust

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

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
467 B15 linesraw
1warning: skipping const checks
2  --> $DIR/assoc_const.rs:12:31
3   |
4LL |     const F: u32 = (U::X, 42).1;
5   |                               ^
6
7error[E0080]: erroneous constant used
8  --> $DIR/assoc_const.rs:29:13
9   |
10LL |     let y = <String as Bar<Vec<u32>, String>>::F;
11   |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ referenced constant has errors
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0080`.