Skip to main content

Module query

Module query 

Source
Expand description

Values computed by queries that use MIR.

Re-exportsยง

use std::fmt; ๐Ÿ”’
use std::fmt::Debug; ๐Ÿ”’
use std::fmt::Debug; ๐Ÿ”’
use rustc_abi::FieldIdx; ๐Ÿ”’
use rustc_abi::VariantIdx; ๐Ÿ”’
use rustc_errors::ErrorGuaranteed; ๐Ÿ”’
use rustc_index::IndexVec; ๐Ÿ”’
use rustc_index::bit_set::BitMatrix; ๐Ÿ”’
use rustc_macros::StableHash; ๐Ÿ”’
use rustc_macros::TyDecodable; ๐Ÿ”’
use rustc_macros::TyEncodable; ๐Ÿ”’
use rustc_macros::TypeFoldable; ๐Ÿ”’
use rustc_macros::TypeVisitable; ๐Ÿ”’
use rustc_span::def_id::DefId; ๐Ÿ”’
use rustc_span::Span; ๐Ÿ”’
use rustc_span::Symbol; ๐Ÿ”’
use super::ConstValue; ๐Ÿ”’
use super::SourceInfo; ๐Ÿ”’
use crate::ty; ๐Ÿ”’
use crate::ty::CoroutineArgsExt; ๐Ÿ”’
use crate::ty::Ty; ๐Ÿ”’

Structsยง

ConstQualifs
The result of the mir_const_qualif query.
CoroutineLayout
The layout of coroutine state.
CoroutineSavedLocal
CoroutineSavedTy
DestructuredConstant
The constituent parts of a mir constant of kind ADT or array.

Enumsยง

AnnotationSource
ConstraintCategory
Outlives-constraints can be categorized to determine whether and why they are interesting (for error reporting). Order of variants indicates sort order of the category, thereby influencing diagnostic output.
ReturnConstraint