Type Alias rustc_trait_selection::infer::canonical::Canonical

source ·
pub type Canonical<'tcx, V> = Canonical<TyCtxt<'tcx>, V>;

Aliased Type§

struct Canonical<'tcx, V> {
    pub value: V,
    pub max_universe: UniverseIndex,
    pub defining_opaque_types: &'tcx RawList<(), LocalDefId>,
    pub variables: &'tcx RawList<(), CanonicalVarInfo<TyCtxt<'tcx>>>,
}

Fields§

§value: V§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.