rustc_passes::weak_lang_items

Function 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.