]> git.lizzy.rs Git - rust.git/blob - tests/ui/escape_analysis.stderr
Auto merge of #6304 - matthiaskrgr:crash_6302, r=llogiq
[rust.git] / tests / ui / escape_analysis.stderr
1 error: local variable doesn't need to be boxed here
2   --> $DIR/escape_analysis.rs:40:13
3    |
4 LL | fn warn_arg(x: Box<A>) {
5    |             ^
6    |
7    = note: `-D clippy::boxed-local` implied by `-D warnings`
8
9 error: local variable doesn't need to be boxed here
10   --> $DIR/escape_analysis.rs:131:12
11    |
12 LL | pub fn new(_needs_name: Box<PeekableSeekable<&()>>) -> () {}
13    |            ^^^^^^^^^^^
14
15 error: aborting due to 2 previous errors
16