rustc_trait_selection::traits::solve

Type Alias CanonicalInput

source
pub type CanonicalInput<'tcx, P = Predicate<'tcx>> = Canonical<TyCtxt<'tcx>, QueryInput<TyCtxt<'tcx>, P>>;

Aliased Type§

struct CanonicalInput<'tcx, P = Predicate<'tcx>> {
    pub value: QueryInput<TyCtxt<'tcx>, P>,
    pub max_universe: UniverseIndex,
    pub defining_opaque_types: &'tcx RawList<(), LocalDefId>,
    pub variables: &'tcx RawList<(), CanonicalVarInfo<TyCtxt<'tcx>>>,
}

Fields§

§value: QueryInput<TyCtxt<'tcx>, P>§max_universe: UniverseIndex§defining_opaque_types: &'tcx RawList<(), LocalDefId>§variables: &'tcx RawList<(), CanonicalVarInfo<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.