Function mir_borrowck

Source
pub(crate) fn mir_borrowck(
    tcx: TyCtxt<'_>,
    def: LocalDefId,
) -> Result<&ConcreteOpaqueTypes<'_>, ErrorGuaranteed>
Expand description

Provider for query mir_borrowck. Similar to typeck, this must only be called for typeck roots which will then borrowck all nested bodies as well.