summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty/layout.rs
AgeCommit message (Expand)AuthorLines
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-12/+12
2024-12-18Variants::Single: do not use invalid VariantIdx for uninhabited enumsRalf Jung-5/+8
2024-12-18Re-export more `rustc_span::symbol` things from `rustc_span`.Nicholas Nethercote-2/+1
2024-12-02rust_for_linux: -Zreg-struct-return commandline flag for X86 (#116973)Andrew Zhogin-1/+4
2024-11-23remove remaining references to `Reveal`lcnr-2/+2
2024-11-19move `fn is_item_raw` to `TypingEnv`lcnr-7/+7
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-52/+63
2024-11-08pointee_info_at: fix logic for recursing into enumsRalf Jung-11/+27
2024-11-03compiler: Directly use rustc_abi in metadata and middleJubilee Young-29/+25
2024-10-29compiler: `rustc_abi::Abi` => `BackendRepr`Jubilee Young-3/+4
2024-10-28Rollup merge of #132255 - workingjubilee:layout-is-🏚️, r=compiler-errorsJubilee-1/+1
2024-10-28compiler: Add `is_uninhabited` and use LayoutS accessorsJubilee Young-1/+1
2024-10-27compiler: Rename LayoutS to LayoutDataJubilee Young-3/+3
2024-10-23nightly feature tracking: get rid of the per-feature bool fieldsRalf Jung-1/+1
2024-10-21Rollup merge of #130432 - azhogin:azhogin/regparm, r=workingjubilee,pnkfelixJubilee-1/+15
2024-10-19Get rid of const eval_* and try_eval_* helpersMichael Goulet-1/+1
2024-10-18rust_for_linux: -Zregparm=<N> commandline flag for X86 (#116972)Andrew Zhogin-1/+15
2024-10-08compiler: Factor rustc_target::abi::* out of middle::ty::layoutJubilee Young-7/+17
2024-10-04Use wide pointers consistenly across the compilerUrgau-7/+7
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-9/+8
2024-09-21Rollup merge of #127766 - folkertdev:c-cmse-nonsecure-entry, r=jackh726Michael Goulet-0/+1
2024-09-21add `C-cmse-nonsecure-entry` ABIFolkert de Vries-0/+1
2024-09-20TL note: current means targetJubilee Young-1/+1
2024-09-18Rollup merge of #130457 - nnethercote:cleanup-codegen-traits, r=bjorn3Matthias Krüger-2/+2
2024-09-17Use associative type defaults in `{Layout,FnAbi}OfHelpers`.Nicholas Nethercote-2/+2
2024-09-16layout computation: eagerly error for unexpected unsized fieldsLukas Markeffsky-17/+10
2024-09-16make `LayoutCx` not genericLukas Markeffsky-28/+9
2024-09-11Simplify some nested if statementsMichael Goulet-4/+4
2024-09-06Make `Ty::boxed_ty` return an `Option`Pavel Grigorenko-2/+4
2024-08-25Avoid taking reference of &TyKindMichael Goulet-1/+1
2024-08-14Auto merge of #128812 - nnethercote:shrink-TyKind-FnPtr, r=compiler-errorsbors-4/+6
2024-08-12Avoid a `FnPtr` deconstruct-and-recreate.Nicholas Nethercote-4/+5
2024-08-11Rename normalization functions to rawMichael Goulet-1/+1
2024-08-09Shrink `TyKind::FnPtr`.Nicholas Nethercote-2/+3
2024-08-08Rename struct_tail_erasing_lifetimes to struct_tail_for_codegenMichael Goulet-2/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-15/+16
2024-07-11Remove extern "wasm" ABINikita Popov-1/+0
2024-06-25Auto merge of #125740 - RalfJung:transmute-size-check, r=oli-obkbors-8/+17
2024-06-19Stabilise c_unwindGary Guo-35/+1
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-2/+2
2024-06-16Rename InstanceDef -> InstanceKindMichael Goulet-2/+2
2024-06-14Use is_lang_item more aggressivelyMichael Goulet-2/+3
2024-06-08offset_of: allow (unstably) taking the offset of slice tail fieldsRalf Jung-0/+34
2024-06-05Basic removal of `Ty` from places (boring)Boxy-3/+1
2024-06-01Auto merge of #125775 - compiler-errors:uplift-closure-args, r=lcnrbors-1/+1
2024-06-01Uplift TypeRelation and RelateMichael Goulet-1/+1
2024-06-01Increase vtable layout sizeMark Rousskov-18/+7
2024-05-30transmute size check: properly account for alignmentRalf Jung-8/+17
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_middle`.Nicholas Nethercote-0/+1