Remove all checks of IntrinsicDef::must_be_overridden
except for the actual overrides in codegen
This commit is contained in:
parent
e91084180e
commit
a8f71cf289
7 changed files with 11 additions and 32 deletions
|
@ -81,10 +81,6 @@ fn reachable_non_generics_provider(tcx: TyCtxt<'_>, _: LocalCrate) -> DefIdMap<S
|
|||
return library.kind.is_statically_included().then_some(def_id);
|
||||
}
|
||||
|
||||
if tcx.intrinsic(def_id).is_some_and(|i| i.must_be_overridden) {
|
||||
return None;
|
||||
}
|
||||
|
||||
// Only consider nodes that actually have exported symbols.
|
||||
match tcx.def_kind(def_id) {
|
||||
DefKind::Fn | DefKind::Static { .. } => {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue