Re-exports§
use rustc_hir::def::DefKind;🔒use rustc_hir::def_id::DefId;🔒use rustc_middle::mir;🔒use rustc_middle::ty::TyCtxt;🔒use rustc_span::Span;🔒pub use self::alignment::most_packed_projection;pub use self::alignment::place_unalignment;pub use self::check_validity_requirement::check_validity_requirement;pub(crate) use self::check_validity_requirement::validate_scalar_in_layout;🔒pub use self::compare_types::relate_types;pub use self::compare_types::sub_types;pub use self::type_name::type_name;
Modules§
- alignment 🔒
- caller_
location 🔒 - check_
validity_ 🔒requirement - compare_
types 🔒 - Routines to check for relations between fully inferred types.
- type_
name 🔒
Functions§
- binop_
left_ homogeneous - Classify whether an operator is “left-homogeneous”, i.e., the LHS has the same type as the result.
- binop_
right_ homogeneous - Classify whether an operator is “right-homogeneous”, i.e., the RHS has the same type as the LHS.
- context_
spans - unop_
homogeneous - Classify whether an operator is “homogeneous”, i.e., the operand has the same type as the result.