about summary refs log tree commit diff
path: root/compiler/rustc_ty_utils
AgeCommit message (Expand)AuthorLines
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-954/+44
2022-11-24move things from rustc_target::abi to rustc_abihkalbasi-12/+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
2022-10-07Rewrite representabilityCameron Steffen-359/+93
2022-10-07Change InferCtxtBuilder from enter to buildCameron Steffen-22/+13
2022-10-06Rollup merge of #98496 - BoxyUwU:instancers_bad_equality, r=lcnrMatthias Krüger-31/+6
2022-10-04Rollup merge of #102653 - lcnr:delay_span_bug, r=fee1-deadMatthias Krüger-2/+6
2022-10-04missing value to delay_span_buglcnr-2/+6
2022-10-04It's not about types or consts, but the lack of regionsOli Scherer-8/+8
2022-10-03Move utils from rustc_middle to rustc_ty_utilsCameron Steffen-2/+2632
2022-09-30make query take `(LocalDefId, DefId)`Boxy-7/+4
2022-09-30make `compare_const_impl` a query and use it in `instance.rs`Boxy-30/+8
2022-09-27rustc_typeck to rustc_hir_analysislcnr-1/+1