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 20e3f49 commit 79f3ae4Copy full SHA for 79f3ae4
clippy_lints/src/missing_inline.rs
@@ -190,5 +190,5 @@ impl<'tcx> LateLintPass<'tcx> for MissingInline {
190
/// and a rustc warning would be triggered, see #15301
191
fn fn_is_externally_exported(cx: &LateContext<'_>, def_id: DefId) -> bool {
192
let attrs = cx.tcx.codegen_fn_attrs(def_id);
193
- attrs.contains_extern_indicator(cx.tcx, def_id)
+ attrs.contains_extern_indicator()
194
}
0 commit comments