3use std::{borrow::Cow, cell::RefCell, fmt::Write, iter, mem, ops::Range};
4
5▶use base_db::{Crate, target::TargetLoadError};
6use either::Either;
7use hir_def::{
· · ·
39use crate::{
40 CallableDefId, ComplexMemoryMap, InferBodyId, InferenceResult, MemoryMap, ParamEnvAndCrate,
41▶ consteval::{self, ConstEvalError, try_const_usize},
42 db::{GeneralConstId, HirDatabase, InternedClosureId},
43 display::{ClosureStyle, DisplayTarget, HirDisplay},
· · ·
44 infer::PointerCast,
45▶ layout::{Layout, LayoutError, RustcEnumVariantIdx},
46 method_resolution::{is_dyn_method, lookup_impl_const},
47 next_solver::{
· · ·
48▶ AliasTy, Allocation, AllocationData, Const, ConstKind, DbInterner, ErrorGuaranteed,
49 GenericArgs, Region, StoredTy, Ty, TyKind, TypingMode, UnevaluatedConst, ValTree,
50 infer::{DbInternerInferExt, InferCtxt, traits::ObligationCause},
· · ·
56
57use super::{
58▶ AggregateKind, BasicBlockId, BinOp, CastKind, LocalId, MirBody, MirLowerError, MirSpan,
59 Operand, OperandKind, Place, PlaceElem, PlaceRef, PlaceTy, ProjectionElem, Rvalue,
60 StatementKind, TerminatorKind, UnOp, return_slot,
+ 118 more matches in this file