summary refs log tree commit diff
path: root/compiler/rustc_ty_utils/src/layout.rs
AgeCommit message (Expand)AuthorLines
2025-07-24Remove dead code and extend test coverage and diagnostics around itOli Scherer-8/+0
2025-07-07compiler: Parse `p-` specs in datalayout string, allow definition of custom d...Edoardo Marangoni-2/+2
2025-07-01Remove support for dyn*Michael Goulet-8/+0
2025-06-17apply clippy::or_fun_callklensy-4/+3
2025-06-03Change `tag_field` to `FieldIdx` in `Variants::Multiple`Scott McMurray-1/+1
2025-05-11Return value of coroutine_layout fn changed to Result with LayoutErrorAndrew Zhogin-3/+1
2025-04-29Rollup merge of #139909 - oli-obk:or-patterns, r=BoxyUwUTrevor Gross-2/+84
2025-04-28AsyncDrop implementation using shim codegen of async_drop_in_place::{closure}...Andrew Zhogin-2/+6
2025-04-28Add or-patterns to pattern typesOli Scherer-2/+84
2025-04-13Initial `UnsafePinned`/`UnsafeUnpin` impl [Part 1: Libs]Sky-2/+5
2025-03-24Don't ICE when encountering placeholders in layout computationMichael Goulet-6/+2
2025-03-10Reject wrapping ranges of pattern typesOli Scherer-0/+28
2025-03-08Move coroutine layout logic to `rustc_abi`Moulins-334/+23
2025-03-08Refactor coroutine layout logic to precompute all sublayoutsMoulins-117/+118
2025-03-08Move SIMD layout logic to `rustc_abi`Moulins-61/+18
2025-03-08Remove most manual LayoutData creations and move them to `rustc_abi`Moulins-67/+25
2025-03-06Remove the `Option` part of range ends in the HIROli Scherer-7/+2
2025-03-06Avoid having to handle an `Option` in the type systemOli Scherer-14/+11
2025-03-06Prefer a two value enum over boolOli Scherer-2/+3
2025-03-02Remove layouting dead code for non-array SIMD types.Moulins-70/+19
2025-02-28rename BackendRepr::Vector → SimdVectorRalf Jung-1/+1
2025-02-23Rollup merge of #137256 - workingjubilee:untangle-vector-abi-assumptions, r=b...Matthias Krüger-3/+6
2025-02-21layout_of: put back not-so-unreachable caseLukas Markeffsky-1/+14
2025-02-20compiler: split vector_align into cabi and llvmlikeJubilee Young-2/+5
2025-02-20compiler: Align::max_for_offset -> Align::max_aligned_factorJubilee Young-1/+1
2025-02-20Remove `BackendRepr::Uninhabited`, replaced with an `uninhabited: bool` field...Zachary S-12/+9
2025-02-18cosmetic changesLukas Markeffsky-18/+22
2025-02-18remove useless parameterLukas Markeffsky-36/+10
2025-02-18remove redundant codeLukas Markeffsky-11/+9
2025-02-18remove unreachable casesLukas Markeffsky-15/+8
2025-02-16Move hashes from rustc_data_structure to rustc_hashes so they can be shared w...Ben Kimock-1/+1
2025-02-15Replace some u64 hashes with Hash64Ben Kimock-5/+8
2025-02-10Rename rustc_middle::Ty::is_unsafe_ptr to is_raw_ptrBastian Kersting-1/+1
2025-02-08Rustfmtbjorn3-20/+35
2025-01-30introduce `ty::Value`Lukas Markeffsky-11/+8
2025-01-27Add `TooGeneric` variant to `LayoutError` and emit `Unknown` oneFedericoBruzzone-19/+50
2025-01-14Consider more erroneous layouts as LayoutError::ReferencesError to suppress s...Michael Goulet-12/+20
2025-01-11rename `BitSet` to `DenseBitSet`Rémy Rakic-4/+4
2025-01-10Foo<T> != Foo<U> under layout randomizationThe 8472-0/+10
2024-12-22Begin to implement type system layer of unsafe bindersMichael Goulet-0/+5
2024-12-18make no-variant types a dedicated Variants variantRalf Jung-15/+11
2024-12-18Variants::Single: do not use invalid VariantIdx for uninhabited enumsRalf Jung-6/+8
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-11-30report UB when the niche value refers to the untagged variantRalf Jung-1/+1
2024-11-23remove remaining references to `Reveal`lcnr-3/+3
2024-11-23no more Reveal :(lcnr-1/+1
2024-11-19move `fn is_item_raw` to `TypingEnv`lcnr-9/+5
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-20/+24
2024-11-03compiler: Directly use rustc_abi in ty_utilsJubilee Young-4/+3
2024-10-29compiler: `rustc_abi::Abi` => `BackendRepr`Jubilee Young-19/+24