clippy_lint: Extend BoxedLocal ignored ABI to all non-rust ABIs.
This commit is contained in:
parent
15150c07ea
commit
cc26924cce
|
@ -68,7 +68,7 @@ impl<'tcx> LateLintPass<'tcx> for BoxedLocal {
|
|||
hir_id: HirId,
|
||||
) {
|
||||
if let Some(header) = fn_kind.header() {
|
||||
if header.abi == Abi::C {
|
||||
if header.abi != Abi::Rust {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue