Open
Description
e053dfa added checks for huge types. These checks are done in middle/trans, but the location of the type is not reported.
For anonymous array types there's no way to extract the span, as the ast-ID is lost.
An example:
fn main() {
let _x = [0; 9223372036854775808];
}
the error message:
error: the type `[i32; 9223372036854775808]` is too big for the current architecture