summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty/layout.rs
AgeCommit message (Expand)AuthorLines
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
2024-05-10Rollup merge of #124797 - beetrees:primitive-float, r=davidtwcoMatthias Krüger-4/+23
2024-05-08Handle normalization failure in `struct_tail_erasing_lifetimes`Gurinder Singh-7/+8
2024-05-08Rollup merge of #124548 - gurry:113272-ice-failed-to-normalize, r=compiler-er...Matthias Krüger-1/+16
2024-05-06Refactor float `Primitive`s to a separate `Float` typebeetrees-4/+23
2024-05-02Inline & delete `Ty::new_unit`, since it's just a field accessWaffle Lapkin-2/+2
2024-05-01Handle normalization failure in `struct_tail_erasing_lifetimes`Gurinder Singh-1/+16
2024-04-29Remove `extern crate rustc_macros` from `rustc_middle`.Nicholas Nethercote-0/+1
2024-04-22Fix ICE when ADT tail has type errorGurinder Singh-0/+4
2024-04-19Auto merge of #117919 - daxpedda:wasm-c-abi, r=wesleywiserbors-1/+15
2024-04-08Actually create ranged int types in the type system.Oli Scherer-0/+1
2024-03-22Auto merge of #122900 - matthiaskrgr:rollup-nls90mb, r=matthiaskrgrbors-1/+6
2024-03-22Rollup merge of #114009 - dvdhrm:pr/transmzst, r=pnkfelixMatthias Krüger-1/+6
2024-03-22Make RawPtr take Ty and Mutbl separatelyMichael Goulet-2/+2
2024-03-22Programmatically convert some of the pat ctorsMichael Goulet-2/+2
2024-03-21Sorting arbitrary constants should not be done, as it relies on `DefId` order...Oli Scherer-64/+3
2024-03-20compiler: allow transmute of ZST arrays with genericsDavid Rheinsberg-1/+6
2024-03-11Rename `IntoDiagnostic` as `Diagnostic`.Nicholas Nethercote-5/+5
2024-03-11Rename `IntoDiagnosticArg` as `IntoDiagArg`.Nicholas Nethercote-4/+4