6 lines
126 B
Rust
Raw Normal View History

2023-09-24 14:56:40 +02:00
fn f(x: Box<[u8; 500]>) {}
//~^ ERROR: local variable doesn't need to be boxed here
fn f2(x: Box<[u8; 501]>) {}
fn main() {}