Function rustc_trait_selection::infer::resolve::fully_resolve
source · pub fn fully_resolve<'tcx, T>(
infcx: &InferCtxt<'a, 'tcx>,
value: T
) -> Result<T, FixupError<'tcx>>where
T: TypeFoldable<'tcx>,
Expand description
Full type resolution replaces all type and region variables with
their concrete results. If any variable cannot be replaced (never unified, etc)
then an Err
result is returned.