]> git.proxmox.com Git - rustc.git/blame - src/tools/clippy/tests/ui/escape_analysis.stderr
Update upstream source from tag 'upstream/1.52.1+dfsg1'
[rustc.git] / src / tools / clippy / tests / ui / escape_analysis.stderr
CommitLineData
f20569fa
XL
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