about summary refs log tree commit diff
path: root/compiler/rustc_ty_utils/src
AgeCommit message (Expand)AuthorLines
2022-12-07Compute generator sizes with -Zprint_type_sizesMichael Goulet-0/+6
2022-11-29Auto merge of #105012 - WaffleLapkin:into, r=oli-obkbors-18/+14
2022-11-28Remove `Const::from_value`Maybe Waffle-2/+2
2022-11-28Simplify calls to `tcx.mk_const`Maybe Waffle-16/+12
2022-11-28Rollup merge of #105006 - RalfJung:scalar-pair-alignment, r=eddybMatthias Krüger-262/+272
2022-11-28stricter alignment enforcement for ScalarPair and VectorRalf Jung-15/+22
2022-11-28Rollup merge of #104732 - WaffleLapkin:from_def_idn't, r=compiler-errorsDylan DPC-1/+1
2022-11-28sanity_check_layout: less rightwards driftRalf Jung-262/+265
2022-11-27Auto merge of #103917 - oli-obk:layout_math, r=RalfJung,lcnrbors-14/+14
2022-11-27Rename `fn_trait_kind_from_{from_lang=>def_id}` to better convey meaningMaybe Waffle-1/+1
2022-11-25Auto merge of #99798 - JulianKnodt:ac1, r=BoxyUwUbors-296/+256
2022-11-25move 2 candidates into builtin candidatelcnr-2/+0
2022-11-25reduce duplicated argument logicBoxy-64/+40
2022-11-25Add empty ConstKind::Abstractkadmin-296/+280
2022-11-25Some manual formatting of let..else statementsOli Scherer-14/+14
2022-11-24Auto merge of #103693 - HKalbasi:master, r=oli-obkbors-952/+44
2022-11-24move things from rustc_target::abi to rustc_abihkalbasi-10/+10
2022-11-24move some layout logic to rustc_target::abi::layouthkalbasi-940/+32
2022-11-24make rustc_target usable outside of rustchkalbasi-13/+13
2022-11-24Avoid `GenFuture` shim when compiling async constructsArpad Borsos-0/+6
2022-11-22also sort fields by niche sizes to retain optimizationsThe 8472-3/+16
2022-11-22group fields based on largest power of two dividing its sizeThe 8472-7/+3
2022-11-22optimize field ordering by grouping power-of-two arrays with larger typesThe 8472-4/+13
2022-11-21Stop passing the self-type as a separate argument.Oli Scherer-1/+1
2022-11-21Allow iterators instead of requiring slices that will get turned into iteratorsOli Scherer-1/+1
2022-11-21Assert that various types have the right amount of generic args and fix the s...Oli Scherer-6/+3
2022-11-21Auto merge of #103491 - cjgillot:self-rpit, r=oli-obkbors-5/+0
2022-11-20Factor out conservative_is_privately_uninhabitedCameron Steffen-60/+2
2022-11-13add is_sized method on Abi and Layout, and use itRalf Jung-1/+1
2022-11-13Create bidirectional bounds between original and duplicated parameters.Camille GILLOT-5/+0
2022-11-10Use const_error_with_guaranteed moreMichael Goulet-1/+3
2022-11-04Refactor tcx mk_const parameters.Mateusz-15/+5
2022-11-02Properly render asyncness for traits without default bodyMichael Goulet-1/+1
2022-10-29Rollup merge of #103625 - WaffleLapkin:no_tyctxt_dogs_allowed, r=compiler-errorsGuillaume Gomez-6/+5
2022-10-29Rename some `OwnerId` fields.Nicholas Nethercote-8/+8
2022-10-27Accept `TyCtxt` instead of `TyCtxtAt` in `Ty::is_*` functionsMaybe Waffle-6/+5
2022-10-26Auto merge of #103284 - compiler-errors:const-sad, r=oli-obkbors-1/+73
2022-10-23Migrate all diagnosticsNilstrieb-24/+24
2022-10-21Introduce deduced parameter attributes, and use them for deducing `readonly` onPatrick Walton-5/+38
2022-10-20Note discrepancies in constness calculationMichael Goulet-0/+5
2022-10-20Revert "Unify tcx.constness and param env constness checks"Michael Goulet-1/+68
2022-10-14more dupe word typosRageking8-1/+1
2022-10-12Rollup merge of #102830 - compiler-errors:constness-parity, r=fee1-deadDylan DPC-68/+1
2022-10-12Unify tcx.constness and param env constness checksMichael Goulet-68/+1
2022-10-10Check representability in adt_sized_constraintCameron Steffen-4/+8
2022-10-10Rollup merge of #102786 - compiler-errors:no-tuple-candidate, r=lcnrDylan DPC-2/+1
2022-10-10Rollup merge of #102829 - compiler-errors:rename-impl-item-kind, r=TaKO8KiYuki Okushi-1/+1
2022-10-09ImplItemKind::TyAlias => ImplItemKind::TypeMichael Goulet-1/+1
2022-10-08Auto merge of #100720 - camsteffen:representable, r=cjgillotbors-359/+93
2022-10-07Remove tuple candidate, nothing special about itMichael Goulet-2/+1