Skip to content

Commit d11618e

Browse files
committed
Update boxed_local expect attribute location
1 parent 3a31ef7 commit d11618e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/ui/boxed_local.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ mod issue4804 {
204204
}
205205
}
206206

207-
#[expect(clippy::boxed_local)]
208-
fn check_expect(x: Box<A>) {
207+
fn check_expect(#[expect(clippy::boxed_local)] x: Box<A>) {
209208
x.foo();
210209
}

0 commit comments

Comments
 (0)