2015-12-09 09:55:29 -06:00
|
|
|
// Test spans of errors
|
|
|
|
|
2016-08-24 14:38:14 -05:00
|
|
|
const TUP: (usize,) = 5usize << 64;
|
2017-02-15 07:00:20 -06:00
|
|
|
//~^ ERROR mismatched types
|
2023-01-02 20:00:33 -06:00
|
|
|
//~| expected `(usize,)`, found `usize`
|
2015-12-09 09:55:29 -06:00
|
|
|
const ARR: [i32; TUP.0] = [];
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
}
|