diff options
| author | João Paulo Taylor Ienczak Zanette <jpaulotiz@gmail.com> | 2020-10-08 09:03:11 -0300 |
|---|---|---|
| committer | João Paulo Taylor Ienczak Zanette <jpaulotiz@gmail.com> | 2020-10-08 09:03:11 -0300 |
| commit | cc26924cce6d6e6ee7913ba5026d205eefd42702 (patch) | |
| tree | b39e6c35be956d2c527a32baaf3e93184f4cafd8 | |
| parent | 15150c07eaeec50138a9c96c5bdecbdf92c3101e (diff) | |
| download | rust-cc26924cce6d6e6ee7913ba5026d205eefd42702.tar.gz rust-cc26924cce6d6e6ee7913ba5026d205eefd42702.zip | |
clippy_lint: Extend BoxedLocal ignored ABI to all non-rust ABIs.
| -rw-r--r-- | clippy_lints/src/escape.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/escape.rs b/clippy_lints/src/escape.rs index b222475486d..8b022912573 100644 --- a/clippy_lints/src/escape.rs +++ b/clippy_lints/src/escape.rs @@ -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; } } |
