2024-03-22 17:18:56 +00:00
|
|
|
// #83056 ICE "bad input type for cast"
|
2024-03-22 18:21:50 +00:00
|
|
|
// issue: rust-lang/rust#83056
|
2024-03-22 17:18:56 +00:00
|
|
|
|
|
|
|
struct S([bool; f as usize]);
|
|
|
|
fn f() -> T {}
|
|
|
|
//~^ ERROR cannot find type `T` in this scope
|
|
|
|
pub fn main() {}
|