[][src]Struct rustc::ich::StableHashingContext

pub struct StableHashingContext<'a> {
    sess: &'a Session,
    definitions: &'a Definitions,
    cstore: &'a dyn CrateStore,
    pub(super) body_resolver: BodyResolver<'a>,
    hash_spans: bool,
    hash_bodies: bool,
    pub(super) node_id_hashing_mode: NodeIdHashingMode,
    raw_source_map: &'a SourceMap,
    caching_source_map: Option<CachingSourceMapView<'a>>,
}
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

This is the context state available during incr. comp. hashing. It contains enough information to transform DefIds and HirIds into stable DefPaths (i.e., a reference to the TyCtxt) and it holds a few caches for speeding up various things (e.g., each DefId/DefPath is only hashed once).

Fields

sess: &'a Session
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

definitions: &'a Definitions
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

cstore: &'a dyn CrateStore
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

body_resolver: BodyResolver<'a>
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

hash_spans: bool
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

hash_bodies: bool
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

node_id_hashing_mode: NodeIdHashingMode
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

raw_source_map: &'a SourceMap
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

caching_source_map: Option<CachingSourceMapView<'a>>
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Methods

impl<'a> StableHashingContext<'a>[src]

pub fn new(
    sess: &'a Session,
    krate: &'a Crate<'a>,
    definitions: &'a Definitions,
    cstore: &'a dyn CrateStore
) -> Self
[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

The krate here is only used for mapping BodyIds to Bodys. Don't use it for anything else or you'll run the risk of leaking data out of the tracking system.

pub fn sess(&self) -> &'a Session[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

pub fn while_hashing_hir_bodies<F: FnOnce(&mut Self)>(
    &mut self,
    hash_bodies: bool,
    f: F
)
[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

pub fn while_hashing_spans<F: FnOnce(&mut Self)>(
    &mut self,
    hash_spans: bool,
    f: F
)
[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

pub fn with_node_id_hashing_mode<F: FnOnce(&mut Self)>(
    &mut self,
    mode: NodeIdHashingMode,
    f: F
)
[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

pub fn def_path_hash(&self, def_id: DefId) -> DefPathHash[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

pub fn local_def_path_hash(&self, def_index: DefIndex) -> DefPathHash[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

pub fn node_to_hir_id(&self, node_id: NodeId) -> HirId[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

pub fn hash_bodies(&self) -> bool[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

pub fn source_map(&mut self) -> &mut CachingSourceMapView<'a>[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

pub fn is_ignored_attr(&self, name: Symbol) -> bool[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

pub fn hash_hir_item_like<F: FnOnce(&mut Self)>(&mut self, f: F)[src]

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Trait Implementations

impl<'a> Clone for StableHashingContext<'a>[src]

impl<'a> DepGraphSafe for StableHashingContext<'a>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for WorkProductId[src]

impl<'__ctx, Id> HashStable<StableHashingContext<'__ctx>> for Export<Id> where
    Id: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Certainty[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for NullOp[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for UnOp[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Constant<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for UserTypeProjections[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for UserTypeProjection[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Promoted[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Location[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Reveal[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for DropckOutlivesResult<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for DtorckConstraint<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for MemberConstraint<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for CandidateStep<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for MethodAutoderefStepsResult<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for MethodAutoderefBadTy<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for NormalizationResult<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for AscribeUserType<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Eq<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ImpliedOutlivesBounds<'tcx>[src]

impl<'__ctx, T> HashStable<StableHashingContext<'__ctx>> for Normalize<T> where
    T: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for DropckOutlives<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ProvePredicate<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for LintSource[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Subtype<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for NoSolution[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for EvaluationResult[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for OverflowError[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Graph[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for WhereClause<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for WellFormed<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for FromEnv<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for DomainGoal<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for QuantifierKind[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for CodegenFnAttrs[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for GoalKind<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Clause<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ProgramClause<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ProgramClauseCategory[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Environment<'tcx>[src]

impl<'tcx, '__ctx, G> HashStable<StableHashingContext<'__ctx>> for InEnvironment<'tcx, G> where
    G: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'tcx, '__ctx, N> HashStable<StableHashingContext<'__ctx>> for Vtable<'tcx, N> where
    N: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'tcx, '__ctx, N> HashStable<StableHashingContext<'__ctx>> for VtableImplData<'tcx, N> where
    N: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'tcx, '__ctx, N> HashStable<StableHashingContext<'__ctx>> for VtableGeneratorData<'tcx, N> where
    N: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'tcx, '__ctx, N> HashStable<StableHashingContext<'__ctx>> for VtableClosureData<'tcx, N> where
    N: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for CodegenFnAttrFlags[src]

impl<'__ctx, N> HashStable<StableHashingContext<'__ctx>> for VtableAutoImplData<N> where
    N: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'__ctx, N> HashStable<StableHashingContext<'__ctx>> for VtableBuiltinData<N> where
    N: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'tcx, '__ctx, N> HashStable<StableHashingContext<'__ctx>> for VtableObjectData<'tcx, N> where
    N: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'tcx, '__ctx, N> HashStable<StableHashingContext<'__ctx>> for VtableFnPointerData<'tcx, N> where
    N: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'tcx, '__ctx, N> HashStable<StableHashingContext<'__ctx>> for VtableTraitAliasData<'tcx, N> where
    N: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for PointerCast[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Adjustment<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Adjust<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for OverloadedDeref<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for AllowTwoPhase[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for CrateSource[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for AutoBorrowMutability[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for AutoBorrow<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for CoerceUnsizedInfo[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for CustomCoerceUnsized[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for BindingMode[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for CastKind[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for FreeRegionMap<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for GenericArgKind<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for UserSubsts<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for UserSelfTy<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for DepKind[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for TraitDef[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for NeedsDrop[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ResolvedOpaqueTy<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for GeneratorInteriorTypeCause<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for UserTypeAnnotationIndex[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for CanonicalUserTypeAnnotation<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for UserType<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Instance<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for InstanceDef<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for TypeAndMut<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for LinkagePreference[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for FreeRegion[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for BoundRegion[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for TyKind<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ExistentialPredicate<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for TraitRef<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ExistentialTraitRef<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ProjectionTy<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for FnSig<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ParamTy[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ParamConst[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for NativeLibrary[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for DebruijnIndex[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for InferTy[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for BoundTy[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for BoundTyKind[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ExistentialProjection<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Const<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ConstKind<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for InferConst<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for AssocItemContainer[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ImplPolarity[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ForeignModule[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for AssocItem[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for AssocKind[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Visibility[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Variance[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for CrateVariancesMap<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for UpvarPath[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for UpvarId[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for BorrowKind[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for UpvarCapture<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for UpvarBorrow<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for DefPathHash[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ExternCrate[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for GenericParamDefKind[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for GenericParamDef[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Generics[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for GenericPredicates<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Predicate<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for CratePredicatesMap<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for TraitPredicate<'tcx>[src]

impl<'__ctx, A, B> HashStable<StableHashingContext<'__ctx>> for OutlivesPredicate<A, B> where
    A: HashStable<StableHashingContext<'__ctx>>,
    B: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for SubtypePredicate<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ProjectionPredicate<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ExternCrateSource[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for UniverseIndex[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ParamEnv<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Destructor[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for AdtFlags[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for VariantFlags[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for VariantDef[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for VariantDiscr[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for FieldDef[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ReprFlags[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ReprOptions[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Linkage[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ClosureKind[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for AdtSizedConstraint<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for CrateInherentImpls[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for SymbolName[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for SymbolExportLevel[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for LanguageItems[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for LibFeatures[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for AccessLevel[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Scope[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ScopeData[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for FirstStatementIndex[src]

impl<'tcx, '__ctx, V> HashStable<StableHashingContext<'__ctx>> for Canonical<'tcx, V> where
    V: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for YieldData[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for LifetimeDefOrigin[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Region[src]

impl<'__ctx, T> HashStable<StableHashingContext<'__ctx>> for Set1<T> where
    T: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ResolveLifetimes[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for DeprecationEntry[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Index<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for BodyAndCache<'tcx>[src]

impl<'__ctx, Tag, Extra> HashStable<StableHashingContext<'__ctx>> for Allocation<Tag, Extra> where
    Tag: HashStable<StableHashingContext<'__ctx>>,
    Extra: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for UndefMask[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for CanonicalVarValues<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ErrorHandled[src]

impl<'__ctx, O> HashStable<StableHashingContext<'__ctx>> for PanicInfo<O> where
    O: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for CheckInAllocMsg[src]

impl<'__ctx, Tag, Id> HashStable<StableHashingContext<'__ctx>> for Pointer<Tag, Id> where
    Id: HashStable<StableHashingContext<'__ctx>>,
    Tag: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for RawConst<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ConstValue<'tcx>[src]

impl<'__ctx, Tag, Id> HashStable<StableHashingContext<'__ctx>> for Scalar<Tag, Id> where
    Tag: HashStable<StableHashingContext<'__ctx>>,
    Id: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'__ctx, Tag, Id> HashStable<StableHashingContext<'__ctx>> for ScalarMaybeUndef<Tag, Id> where
    Tag: HashStable<StableHashingContext<'__ctx>>,
    Id: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for GlobalId<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for LitToConstInput<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for CanonicalVarInfo[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for LitToConstError[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for GlobalAlloc<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Linkage[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Visibility[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for UnsafetyViolationKind[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for UnsafetyViolation[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for UnsafetyCheckResult[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for GeneratorSavedLocal[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for GeneratorLayout<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for BorrowCheckResult<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for CanonicalVarKind[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ConstQualifs[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ClosureRegionRequirements<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ClosureOutlivesRequirement<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ConstraintCategory[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for ClosureOutlivesSubject<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for DestructuredConst<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for MirPhase[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Body<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Safety[src]

impl<'__ctx, T> HashStable<StableHashingContext<'__ctx>> for ClearCrossCrate<T> where
    T: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for CanonicalTyVarKind[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for SourceInfo[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for BorrowKind[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Local[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for LocalKind[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for VarBindingForm<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ImplicitSelfKind[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for BlockTailInfo[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for LocalDecl<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for LocalInfo<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for VarDebugInfo<'tcx>[src]

impl<'tcx, '__ctx, R> HashStable<StableHashingContext<'__ctx>> for QueryResponse<'tcx, R> where
    R: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for BasicBlock[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for BasicBlockData<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Terminator<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for TerminatorKind<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Statement<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for StatementKind<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for RetagKind[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for FakeReadCause[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for InlineAsm<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Place<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for QueryRegionConstraints<'tcx>[src]

impl<'__ctx, V, T> HashStable<StableHashingContext<'__ctx>> for ProjectionElem<V, T> where
    T: HashStable<StableHashingContext<'__ctx>>,
    V: HashStable<StableHashingContext<'__ctx>>, 
[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for Field[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for SourceScope[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for SourceScopeData[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for SourceScopeLocalData[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Operand<'tcx>[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for Rvalue<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for CastKind[src]

impl<'tcx, '__ctx> HashStable<StableHashingContext<'__ctx>> for AggregateKind<'tcx>[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for BinOp[src]

impl<'a> HashStable<StableHashingContext<'a>> for NodeId[src]

impl<'a> HashStable<StableHashingContext<'a>> for LocalDefId[src]

impl<'a> HashStable<StableHashingContext<'a>> for Lifetime[src]

impl<'a> HashStable<StableHashingContext<'a>> for [Attribute][src]

impl<'a> HashStable<StableHashingContext<'a>> for SourceFile[src]

impl<'a, 'tcx, T> HashStable<StableHashingContext<'a>> for &'tcx List<T> where
    T: HashStable<StableHashingContext<'a>>, 
[src]

impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for GenericArg<'tcx>[src]

impl<'a> HashStable<StableHashingContext<'a>> for RegionKind[src]

impl<'a> HashStable<StableHashingContext<'a>> for RegionVid[src]

impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for ConstVid<'tcx>[src]

impl<'a, T> HashStable<StableHashingContext<'a>> for Binder<T> where
    T: HashStable<StableHashingContext<'a>>, 
[src]

impl<'a> HashStable<StableHashingContext<'a>> for AllocId[src]

impl<'a> HashStable<StableHashingContext<'a>> for CrateNum[src]

impl<'a, Tag> HashStable<StableHashingContext<'a>> for Relocations<Tag> where
    Tag: HashStable<StableHashingContext<'a>>, 
[src]

impl<'a> HashStable<StableHashingContext<'a>> for TyVid[src]

impl<'a> HashStable<StableHashingContext<'a>> for IntVid[src]

impl<'a> HashStable<StableHashingContext<'a>> for FloatVid[src]

impl<'a, T> HashStable<StableHashingContext<'a>> for Steal<T> where
    T: HashStable<StableHashingContext<'a>>, 
[src]

impl<'a> HashStable<StableHashingContext<'a>> for AccessLevels[src]

impl<'a> HashStable<StableHashingContext<'a>> for LintLevelMap[src]

impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for ExportedSymbol<'tcx>[src]

impl<'a> HashStable<StableHashingContext<'a>> for ScopeTree[src]

impl<'a> HashStable<StableHashingContext<'a>> for Cache[src]

impl<'a, '_> HashStable<StableHashingContext<'a>> for TraitItem<'_>[src]

impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for MonoItem<'tcx>[src]

impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for CodegenUnit<'tcx>[src]

impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for BindingForm<'tcx>[src]

impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for OutlivesBound<'tcx>[src]

impl<'a> HashStable<StableHashingContext<'a>> for Children[src]

impl<'a, D> HashStable<StableHashingContext<'a>> for SimplifiedTypeGen<D> where
    D: Copy + Debug + Ord + Eq + HashStable<StableHashingContext<'a>>, 
[src]

impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for LayoutError<'tcx>[src]

impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for Query<'tcx>[src]

impl<'a> HashStable<StableHashingContext<'a>> for TraitImpls[src]

impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for TypeckTables<'tcx>[src]

impl<'a, '_> HashStable<StableHashingContext<'a>> for ImplItem<'_>[src]

impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for TyS<'tcx>[src]

impl<'a, T> HashStable<StableHashingContext<'a>> for Placeholder<T> where
    T: HashStable<StableHashingContext<'a>>, 
[src]

impl<'a, 'tcx, T> HashStable<StableHashingContext<'a>> for ParamEnvAnd<'tcx, T> where
    T: HashStable<StableHashingContext<'a>>, 
[src]

impl<'a> HashStable<StableHashingContext<'a>> for AdtDef[src]

impl<'a, '_> HashStable<StableHashingContext<'a>> for Item<'_>[src]

impl<'a, '_> HashStable<StableHashingContext<'a>> for Body<'_>[src]

impl<'a> HashStable<StableHashingContext<'a>> for DefIndex[src]

impl<'a> HashStable<StableHashingContext<'a>> for LangItem[src]

impl<'a> HashStable<StableHashingContext<'a>> for TraitCandidate[src]

impl<'hir, T> HashStable<StableHashingContext<'hir>> for HirItemLike<T> where
    T: HashStable<StableHashingContext<'hir>>, 
[src]

impl<'hir> HashStable<StableHashingContext<'hir>> for InlineAttr[src]

impl<'hir> HashStable<StableHashingContext<'hir>> for OptimizeAttr[src]

impl<'tcx> HashStable<StableHashingContext<'tcx>> for Features[src]

impl<'tcx> HashStable<StableHashingContext<'tcx>> for BoundVar[src]

impl<'a> HashStableContext for StableHashingContext<'a>[src]

impl<'ctx> HashStableContext for StableHashingContext<'ctx>[src]

impl<'ctx> HashStableContext for StableHashingContext<'ctx>[src]

impl<'ctx> HashStableContext for StableHashingContext<'ctx>[src]

impl<'a> StableHashingContextProvider<'a> for StableHashingContext<'a>[src]

impl<'a> ToStableHashKey<StableHashingContext<'a>> for HirId[src]

type KeyType = (DefPathHash, ItemLocalId)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

impl<'a> ToStableHashKey<StableHashingContext<'a>> for NodeId[src]

type KeyType = (DefPathHash, ItemLocalId)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

impl<'a> ToStableHashKey<StableHashingContext<'a>> for Scope[src]

type KeyType = Scope

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

impl<'a> ToStableHashKey<StableHashingContext<'a>> for DefId[src]

type KeyType = DefPathHash

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

impl<'a> ToStableHashKey<StableHashingContext<'a>> for LocalDefId[src]

type KeyType = DefPathHash

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

impl<'a> ToStableHashKey<StableHashingContext<'a>> for CrateNum[src]

type KeyType = DefPathHash

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

impl<'a> ToStableHashKey<StableHashingContext<'a>> for ItemLocalId[src]

type KeyType = ItemLocalId

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

impl<'a> ToStableHashKey<StableHashingContext<'a>> for BodyId[src]

type KeyType = (DefPathHash, ItemLocalId)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

impl<'a> ToStableHashKey<StableHashingContext<'a>> for DefIndex[src]

type KeyType = DefPathHash

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

impl<'a> ToStableHashKey<StableHashingContext<'a>> for TraitCandidate[src]

type KeyType = (DefPathHash, SmallVec<[(DefPathHash, ItemLocalId); 1]>)

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

impl<'a, 'tcx, T> ToStableHashKey<StableHashingContext<'a>> for &'tcx List<T> where
    T: HashStable<StableHashingContext<'a>>, 
[src]

type KeyType = Fingerprint

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

Auto Trait Implementations

impl<'a> !RefUnwindSafe for StableHashingContext<'a>

impl<'a> !Send for StableHashingContext<'a>

impl<'a> !Sync for StableHashingContext<'a>

impl<'a> Unpin for StableHashingContext<'a>

impl<'a> !UnwindSafe for StableHashingContext<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'a, T> Captures<'a> for T where
    T: ?Sized
[src]

impl<T> Erased for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeResult<T> for T[src]

type Error = !

⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

impl<E> SpecializationError for E[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithConstness for T[src]