We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d292265 commit 42e0eb1Copy full SHA for 42e0eb1
tools/scanner/src/analysis.rs
@@ -441,10 +441,8 @@ impl MirVisitor for BodyVisitor<'_> {
441
let fn_sig = fn_def.fn_sig().skip_binder();
442
if fn_sig.safety == Safety::Unsafe {
443
self.props.unsafe_call += 1;
444
- if !matches!(
445
- fn_sig.abi,
446
- Abi::Rust | Abi::RustCold | Abi::RustCall | Abi::RustIntrinsic
447
- ) && !fn_def.has_body()
+ if !matches!(fn_sig.abi, Abi::Rust | Abi::RustCold | Abi::RustCall)
+ && !fn_def.has_body()
448
{
449
self.props.extern_call += 1;
450
}
0 commit comments