blob: 763263c6aeb4f9a86c81c99459d07590c6b06733 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// Test spans of errors
const TUP: (usize,) = 5usize << 64;
//~^ ERROR mismatched types
//~| expected tuple, found `usize`
const ARR: [i32; TUP.0] = [];
//~^ ERROR evaluation of constant value failed
fn main() {
}
|