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