Struct rustc::ty::maps::queries::normalize_projection_ty
[−]
[src]
pub struct normalize_projection_ty<'tcx> { /* fields omitted */ }
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Methods
impl<'a, 'tcx, 'lcx> normalize_projection_ty<'tcx>
[src]
impl<'a, 'tcx, 'lcx> normalize_projection_ty<'tcx>
pub fn ensure(tcx: TyCtxt<'a, 'tcx, 'lcx>, key: CanonicalProjectionGoal<'tcx>)
[src]
pub fn ensure(tcx: TyCtxt<'a, 'tcx, 'lcx>, key: CanonicalProjectionGoal<'tcx>)
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Ensure that either this query has all green inputs or been executed. Executing query::ensure(D) is considered a read of the dep-node D.
This function is particularly useful when executing passes for their side-effects -- e.g., in order to report errors for erroneous programs.
Note: The optimization is only available during incr. comp.
pub fn try_get(
tcx: TyCtxt<'a, 'tcx, 'lcx>,
span: Span,
key: CanonicalProjectionGoal<'tcx>
) -> Result<Result<Lrc<Canonical<'tcx, QueryResult<'tcx, NormalizationResult<'tcx>>>>, NoSolution>, DiagnosticBuilder<'a>>
[src]
pub fn try_get(
tcx: TyCtxt<'a, 'tcx, 'lcx>,
span: Span,
key: CanonicalProjectionGoal<'tcx>
) -> Result<Result<Lrc<Canonical<'tcx, QueryResult<'tcx, NormalizationResult<'tcx>>>>, NoSolution>, DiagnosticBuilder<'a>>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Trait Implementations
impl<'tcx> QueryConfig for normalize_projection_ty<'tcx>
[src]
impl<'tcx> QueryConfig for normalize_projection_ty<'tcx>
type Key = CanonicalProjectionGoal<'tcx>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
type Value = Result<Lrc<Canonical<'tcx, QueryResult<'tcx, NormalizationResult<'tcx>>>>, NoSolution>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Auto Trait Implementations
impl<'tcx> Send for normalize_projection_ty<'tcx>
impl<'tcx> Send for normalize_projection_ty<'tcx>
impl<'tcx> Sync for normalize_projection_ty<'tcx>
impl<'tcx> Sync for normalize_projection_ty<'tcx>