Struct rustc::ty::maps::queries::mir_const_qualif
[−]
[src]
pub struct mir_const_qualif<'tcx> { /* fields omitted */ }
🔬 This is a nightly-only experimental API. (
rustc_private
)Methods
impl<'a, 'tcx, 'lcx> mir_const_qualif<'tcx>
[src]
fn try_get(tcx: TyCtxt<'a, 'tcx, 'lcx>,
span: Span,
key: DefId)
-> Result<u8, CycleError<'a>>
span: Span,
key: DefId)
-> Result<u8, CycleError<'a>>
🔬 This is a nightly-only experimental API. (
rustc_private
)fn get(tcx: TyCtxt<'a, 'tcx, 'lcx>, span: Span, key: DefId) -> u8
🔬 This is a nightly-only experimental API. (
rustc_private
)Maps DefId's that have an associated Mir to the result of the MIR qualify_consts pass. The actual meaning of the value isn't known except to the pass itself.
fn force(tcx: TyCtxt<'a, 'tcx, 'lcx>, span: Span, key: DefId)
🔬 This is a nightly-only experimental API. (
rustc_private
)