]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/escape.rs
clippy_lint: Test for BoxedLocal false-positive in C-FFI and fix C-FFI Abi comparison.
[rust.git] / clippy_lints / src / escape.rs
index ffe81b3966c7c71951651397660ee341527954a9..b222475486d930d4f11bfb485b4e277bd26bfab9 100644 (file)
@@ -68,7 +68,7 @@ fn check_fn(
         hir_id: HirId,
     ) {
         if let Some(header) = fn_kind.header() {
-            if header.abi == Abi::Cdecl {
+            if header.abi == Abi::C {
                 return;
             }
         }