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