summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty/layout.rs
AgeCommit message (Expand)AuthorLines
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
2024-03-10Introduce perma-unstable `wasm-c-abi` flagdaxpedda-1/+15
2024-03-06Rollup merge of #121382 - nnethercote:rework-untranslatable_diagnostic-lint, ...Matthias Krüger-1/+2
2024-03-05only set noalias on Box with the global allocatorRalf Jung-8/+12
2024-03-05Change message type in bug functions.Nicholas Nethercote-1/+2
2024-03-05Rename `DiagnosticMessage` as `DiagMessage`.Nicholas Nethercote-2/+2
2024-03-01Auto merge of #121728 - tgross35:f16-f128-step1-ty-updates, r=compiler-errorsbors-1/+3
2024-02-28Add `f16` and `f128` to `rustc_type_ir::FloatTy` and `rustc_abi::Primitive`Trevor Gross-1/+3
2024-02-28Rename `DiagnosticArg{,Map,Name,Value}` as `DiagArg{,Map,Name,Value}`.Nicholas Nethercote-2/+2
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-3/+2
2024-02-25remove platform-intrinsics ABI; make SIMD intrinsics be regular intrinsicsRalf Jung-1/+0
2024-02-16Move trait into attr so it's greppableMichael Goulet-4/+4
2024-02-16Use extension trait deriveMichael Goulet-20/+4