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 a5469b8 commit 68c1574Copy full SHA for 68c1574
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()
+ attrs.contains_extern_indicator(cx.tcx, def_id)
194
}
0 commit comments