1error: local variable doesn't need to be boxed here
2  --> $DIR/escape_analysis.rs:40:13
3   |
4LL | fn warn_arg(x: Box<A>) {
5   |             ^
6   |
7   = note: `-D clippy::boxed-local` implied by `-D warnings`
8
9error: local variable doesn't need to be boxed here
10  --> $DIR/escape_analysis.rs:131:12
11   |
12LL | pub fn new(_needs_name: Box<PeekableSeekable<&()>>) -> () {}
13   |            ^^^^^^^^^^^
14
15error: local variable doesn't need to be boxed here
16  --> $DIR/escape_analysis.rs:195:44
17   |
18LL |         fn default_impl_x(self: Box<Self>, x: Box<u32>) -> u32 {
19   |                                            ^
20
21error: local variable doesn't need to be boxed here
22  --> $DIR/escape_analysis.rs:202:16
23   |
24LL |         fn foo(x: Box<u32>) {}
25   |                ^
26
27error: aborting due to 4 previous errors
28
29