Struct rustc::ty::maps::queries::mir_shims [−][src]
pub struct mir_shims<'tcx> { data: PhantomData<&'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?
Fields
data: PhantomData<&'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?
Methods
impl<'a, 'tcx, 'lcx> mir_shims<'tcx>
[src]
impl<'a, 'tcx, 'lcx> mir_shims<'tcx>
pub fn ensure(tcx: TyCtxt<'a, 'tcx, 'lcx>, key: InstanceDef<'tcx>)
[src]
pub fn ensure(tcx: TyCtxt<'a, 'tcx, 'lcx>, key: InstanceDef<'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.
Trait Implementations
impl<'tcx> QueryDescription<'tcx> for mir_shims<'tcx>
[src]
impl<'tcx> QueryDescription<'tcx> for mir_shims<'tcx>
fn describe(tcx: TyCtxt, def: InstanceDef<'tcx>) -> String
[src]
fn describe(tcx: TyCtxt, def: InstanceDef<'tcx>) -> 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?
fn cache_on_disk(_: Self::Key) -> bool
[src]
fn cache_on_disk(_: Self::Key) -> bool
🔬 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?
fn try_load_from_disk(
_: TyCtxt<'_, 'tcx, 'tcx>,
_: SerializedDepNodeIndex
) -> Option<Self::Value>
[src]
fn try_load_from_disk(
_: TyCtxt<'_, 'tcx, 'tcx>,
_: SerializedDepNodeIndex
) -> Option<Self::Value>
🔬 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?
impl<'tcx> QueryConfig<'tcx> for mir_shims<'tcx>
[src]
impl<'tcx> QueryConfig<'tcx> for mir_shims<'tcx>
type Key = InstanceDef<'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 = &'tcx Mir<'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?
const NAME: &'static str
🔬 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?
NAME: &'static str = "mir_shims"
fn query(key: Self::Key) -> Query<'tcx>
[src]
fn query(key: Self::Key) -> Query<'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?
fn query_map<'a>(tcx: TyCtxt<'a, 'tcx, '_>) -> &'a Lock<QueryMap<'tcx, Self>>
[src]
fn query_map<'a>(tcx: TyCtxt<'a, 'tcx, '_>) -> &'a Lock<QueryMap<'tcx, Self>>
🔬 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?
fn to_dep_node(tcx: TyCtxt<'_, 'tcx, '_>, key: &Self::Key) -> DepNode
[src]
fn to_dep_node(tcx: TyCtxt<'_, 'tcx, '_>, key: &Self::Key) -> DepNode
🔬 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?
fn compute(tcx: TyCtxt<'_, 'tcx, '_>, key: Self::Key) -> Self::Value
[src]
fn compute(tcx: TyCtxt<'_, 'tcx, '_>, key: Self::Key) -> Self::Value
🔬 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?
fn handle_cycle_error(tcx: TyCtxt<'_, 'tcx, '_>) -> Self::Value
[src]
fn handle_cycle_error(tcx: TyCtxt<'_, 'tcx, '_>) -> Self::Value
🔬 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?