fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
614 B19 linesraw
1error[E0308]: mismatched types
2  --> $DIR/const-tup-index-span.rs:3:23
3   |
4LL | const TUP: (usize,) = 5usize << 64;
5   |                       ^^^^^^^^^^^^ expected tuple, found `usize`
6   |
7   = note: expected tuple `(usize,)`
8               found type `usize`
9
10error[E0080]: evaluation of constant value failed
11  --> $DIR/const-tup-index-span.rs:6:18
12   |
13LL | const ARR: [i32; TUP.0] = [];
14   |                  ^^^ referenced constant has errors
15
16error: aborting due to 2 previous errors
17
18Some errors have detailed explanations: E0080, E0308.
19For more information about an error, try `rustc --explain E0080`.