blob: 2859a29f1b2a2431f8a26a7ecbb1997b3f992fb3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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
|