2023-09-25 04:28:58 -05:00
|
|
|
error: local variable doesn't need to be boxed here
|
2024-01-25 03:38:43 -06:00
|
|
|
--> $DIR/too_large_for_stack/boxed_local.rs:1:6
|
2023-09-25 04:28:58 -05:00
|
|
|
|
|
|
|
|
LL | fn f(x: Box<[u8; 500]>) {}
|
|
|
|
| ^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::boxed-local` implied by `-D warnings`
|
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::boxed_local)]`
|
|
|
|
|
2023-11-21 11:08:42 -06:00
|
|
|
error: aborting due to 1 previous error
|
2023-09-25 04:28:58 -05:00
|
|
|
|