fork/rust

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

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

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