mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
Update boxed_local
expect attribute location
This commit is contained in:
parent
3a31ef7456
commit
d11618e6fa
1 changed files with 1 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue