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
|
2019-11-15 11:37:01 -06:00
|
|
|
//~| expected tuple, found `usize`
|
2015-12-09 09:55:29 -06:00
|
|
|
const ARR: [i32; TUP.0] = [];
|
2022-11-15 05:06:20 -06:00
|
|
|
//~^ constant
|
2015-12-09 09:55:29 -06:00
|
|
|
|
|
|
|
fn main() {
|
|
|
|
}
|