rustc_hir_analysis::check::check

Function check_static_linkage

Source
fn check_static_linkage(tcx: TyCtxt<'_>, def_id: LocalDefId)