]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/boxed_local.stderr
Rollup merge of #98111 - eggyal:issue-97982, r=GuillaumeGomez
[rust.git] / src / tools / clippy / tests / ui / boxed_local.stderr
1 error: local variable doesn't need to be boxed here
2   --> $DIR/boxed_local.rs:41: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/boxed_local.rs:132:12
11    |
12 LL | pub fn new(_needs_name: Box<PeekableSeekable<&()>>) -> () {}
13    |            ^^^^^^^^^^^
14
15 error: local variable doesn't need to be boxed here
16   --> $DIR/boxed_local.rs:196:44
17    |
18 LL |         fn default_impl_x(self: Box<Self>, x: Box<u32>) -> u32 {
19    |                                            ^
20
21 error: local variable doesn't need to be boxed here
22   --> $DIR/boxed_local.rs:203:16
23    |
24 LL |         fn foo(x: Box<u32>) {}
25    |                ^
26
27 error: aborting due to 4 previous errors
28