Update boxed_local expect attribute location

This commit is contained in:
xFrednet 2022-06-28 12:38:52 +02:00
parent 3a31ef7456
commit d11618e6fa
No known key found for this signature in database
GPG key ID: F5C59D0E669E5302

View file

@ -204,7 +204,6 @@ mod issue4804 {
}
}
#[expect(clippy::boxed_local)]
fn check_expect(x: Box<A>) {
fn check_expect(#[expect(clippy::boxed_local)] x: Box<A>) {
x.foo();
}