clippy_lint: Extend BoxedLocal ignored ABI to all non-rust ABIs.

This commit is contained in:
João Paulo Taylor Ienczak Zanette 2020-10-08 09:03:11 -03:00
parent 15150c07ea
commit cc26924cce

View file

@ -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;
}
}