rust/tests/ui-toml/too_large_for_stack/boxed_local.stderr
2023-09-24 15:19:18 +02:00

12 lines
310 B
Plaintext

error: local variable doesn't need to be boxed here
--> $DIR/boxed_local.rs:1:6
|
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)]`
error: aborting due to previous error