Function rustc_passes::weak_lang_items::check_crate
source · pub 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 language items required by this crate, but not defined yet.