mirror of
https://github.com/rust-lang/rust
synced 2024-09-06 01:11:17 +00:00
8 lines
180 B
Rust
8 lines
180 B
Rust
// #83056 ICE "bad input type for cast"
|
|
// issue: rust-lang/rust#83056
|
|
|
|
struct S([bool; f as usize]);
|
|
fn f() -> T {}
|
|
//~^ ERROR cannot find type `T` in this scope
|
|
pub fn main() {}
|