Function check_static_linkage

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