40#[cfg(feature = "nightly")]
41use std::iter::Step;
42▶use std::num::{NonZeroUsize, ParseIntError};
43use std::ops::{Add, AddAssign, Deref, Mul, RangeFull, Sub};
44use std::range::RangeInclusive;
· · ·
49use rustc_data_structures::stable_hash::StableOrd;
50#[cfg(feature = "nightly")]
51▶use rustc_error_messages::{DiagArgValue, IntoDiagArg};
52#[cfg(feature = "nightly")]
53use rustc_errors::{Diag, DiagCtxtHandle, Diagnostic, EmissionGuarantee, Level, msg};
· · ·
53▶use rustc_errors::{Diag, DiagCtxtHandle, Diagnostic, EmissionGuarantee, Level, msg};
54use rustc_hashes::Hash64;
55use rustc_index::{Idx, IndexSlice, IndexVec};
· · ·
71pub use extern_abi::CVariadicStatus;
72pub use extern_abi::{ExternAbi, all_names};
73▶pub use layout::{FIRST_VARIANT, FieldIdx, LayoutCalculator, LayoutCalculatorError, VariantIdx};
74#[cfg(feature = "nightly")]
75pub use layout::{Layout, TyAbiInterface, TyAndLayout};
· · ·
328}
329
330▶pub enum TargetDataLayoutError<'a> {
331 InvalidAddressSpace { addr_space: &'a str, cause: &'a str, err: ParseIntError },
332 InvalidBits { kind: &'a str, bit: &'a str, cause: &'a str, err: ParseIntError },
+ 34 more matches in this file