rustc_trait_selection::traits::solve

Type Alias CanonicalInput

Source
pub type CanonicalInput<'tcx, P = Predicate<'tcx>> = CanonicalQueryInput<TyCtxt<'tcx>, QueryInput<TyCtxt<'tcx>, P>>;

Aliased Type§

struct CanonicalInput<'tcx, P = Predicate<'tcx>> {
    pub canonical: Canonical<TyCtxt<'tcx>, QueryInput<TyCtxt<'tcx>, P>>,
    pub typing_mode: TypingMode<TyCtxt<'tcx>>,
}

Fields§

§canonical: Canonical<TyCtxt<'tcx>, QueryInput<TyCtxt<'tcx>, P>>§typing_mode: TypingMode<TyCtxt<'tcx>>

Layout§

Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.