Struct rustc::ty::maps::queries::target_features_whitelist
[−]
[src]
pub struct target_features_whitelist<'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> target_features_whitelist<'tcx>
[src]
impl<'a, 'tcx, 'lcx> target_features_whitelist<'tcx>
pub fn ensure(tcx: TyCtxt<'a, 'tcx, 'lcx>, key: CrateNum)
[src]
pub fn ensure(tcx: TyCtxt<'a, 'tcx, 'lcx>, key: CrateNum)
🔬 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: CrateNum
) -> Result<Lrc<FxHashSet<String>>, DiagnosticBuilder<'a>>
[src]
pub fn try_get(
tcx: TyCtxt<'a, 'tcx, 'lcx>,
span: Span,
key: CrateNum
) -> Result<Lrc<FxHashSet<String>>, 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 target_features_whitelist<'tcx>
[src]
impl<'tcx> QueryConfig for target_features_whitelist<'tcx>
type Key = CrateNum
🔬 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 = Lrc<FxHashSet<String>>
🔬 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 target_features_whitelist<'tcx>
impl<'tcx> Send for target_features_whitelist<'tcx>
impl<'tcx> Sync for target_features_whitelist<'tcx>
impl<'tcx> Sync for target_features_whitelist<'tcx>