about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty/layout.rs
AgeCommit message (Expand)AuthorLines
2023-03-30Update `ty::VariantDef` to use `IndexVec<FieldIdx, FieldDef>`Scott McMurray-3/+3
2023-03-13Layout of `&dyn Trait<[type error]>` is still wideMichael Goulet-1/+5
2023-03-04Rollup merge of #108669 - Nilstrieb:query-my-uninitness, r=compiler-errorsDylan DPC-1/+6
2023-03-03Match end user facing unmatched backticks in compiler/est31-1/+1
2023-03-02Allow checking whether a type allows being uninitializedNilstrieb-1/+6
2023-02-27Unify all validity check intrinsicsNilstrieb-4/+18
2023-02-27Rollup merge of #108364 - Nilstrieb:validity-checks-refactor, r=compiler-errorsMatthias Krüger-0/+17
2023-02-24Rename many interner functions.Nicholas Nethercote-4/+4
2023-02-23Unify validity checks into a single queryNilstrieb-0/+17
2023-02-22Auto merge of #108340 - eggyal:remove_traversal_trait_aliases, r=oli-obkbors-8/+1
2023-02-22Remove type-traversal trait aliasesAlan Egerton-8/+1
2023-02-22errors: generate typed identifiers in each crateDavid Wood-3/+4
2023-02-18make first component of dyn* use pointer layout+type, and adjust DynStar commentRalf Jung-1/+1
2023-02-17Replace `mk_foo` calls with `infer_foo` where possible.Nicholas Nethercote-1/+1
2023-02-13Workaround issue #107747Alan Egerton-0/+7
2023-02-06also do not add noalias on not-Unpin BoxRalf Jung-91/+95
2023-02-06make PointerKind directly reflect pointer typesRalf Jung-27/+12
2023-01-27Introduce GeneratorWitnessMIR.Camille GILLOT-0/+1
2023-01-22abi: add `AddressSpace` field to `Primitive::Pointer`Erik Desjardins-112/+110
2023-01-17Remove double spaces after dots in commentsMaybe Waffle-1/+1
2023-01-04review comment: Deduplicate dyn ty_and_layout_field codeMichael Goulet-36/+19
2023-01-04Mirror metadata changes in layout sanity checkMichael Goulet-7/+45
2022-12-20rustc: Remove needless lifetimesJeremy Stucki-1/+1
2022-12-13Combine identical alias armsMichael Goulet-3/+2
2022-12-13Combine projection and opaque into aliasMichael Goulet-4/+4
2022-11-24move some layout logic to rustc_target::abi::layouthkalbasi-19/+12
2022-11-24make rustc_target usable outside of rustchkalbasi-1/+1
2022-11-09Use `LayoutError`'s implementation of `IntoDiagnostic`SLASHLogin-4/+4
2022-10-27Accept `TyCtxt` instead of `TyCtxtAt` in `Ty::is_*` functionsMaybe Waffle-2/+2
2022-10-23Migrate all diagnosticsNilstrieb-3/+3
2022-10-07First batch of review feedback changes from #102110Nathan Stocks-1/+20
2022-10-04It's not about types or consts, but the lack of regionsOli Scherer-2/+2
2022-10-03Move utils from rustc_middle to rustc_ty_utilsCameron Steffen-2334/+5
2022-09-24fix lifetime errorEllis Hoag-2/+8
2022-09-24rebase and update trait namesEllis Hoag-5/+3
2022-09-24impl SessionDiagnostic for LayoutError and Spanned<T>Ellis Hoag-1/+10
2022-09-19extend polymorphization hack comment.lcnr-0/+2
2022-09-19remove the `Subst` trait, always use `EarlyBinder`lcnr-1/+0
2022-09-19do not implement type traversal for `EarlyBinder`lcnr-1/+4
2022-09-13Address code review commentsEric Holk-6/+5
2022-09-12Make dyn-trait-method workMichael Goulet-3/+16
2022-09-12Rename some variantsMichael Goulet-7/+4
2022-09-12Construct dyn* during const interpMichael Goulet-8/+2
2022-09-12Call destructors when dyn* object goes out of scopeEric Holk-3/+12
2022-09-12dyn* through more typechecking and MIREric Holk-2/+24
2022-09-12Plumb dyn trait representation through ty::DynamicEric Holk-1/+2
2022-09-07Use niche-filling optimization even when multiple variants have data.Michael Benfield-116/+198
2022-09-07Change name of "dataful" variant to "untagged"Michael Benfield-10/+10
2022-09-04Make `const_eval_select` a real intrinsicDeadbeef-86/+89
2022-08-31Fix a bunch of typoDezhi Wu-1/+1