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