Function rustc_passes::weak_lang_items::check_crate
source ยท pub(crate) fn check_crate(
tcx: TyCtxt<'_>,
items: &mut LanguageItems,
krate: &Crate,
)
Expand description
Checks the crate for usage of weak lang items, returning a vector of all the lang items required by this crate, but not defined yet.