mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 02:00:00 +03:00
Update boxed_local expect attribute location
This commit is contained in:
@@ -204,7 +204,6 @@ fn foo(x: Box<u32>) {}
|
||||
}
|
||||
}
|
||||
|
||||
#[expect(clippy::boxed_local)]
|
||||
fn check_expect(x: Box<A>) {
|
||||
fn check_expect(#[expect(clippy::boxed_local)] x: Box<A>) {
|
||||
x.foo();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user