about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/traits
AgeCommit message (Expand)AuthorLines
2024-08-05Enforce supertrait outlives obligations hold when confirming implMichael Goulet-2/+32
2024-07-31Add special-case for [T, 0] in dropckBryanskiy-2/+9
2024-07-29Reformat `use` declarations.Nicholas Nethercote-266/+240
2024-07-26Make coroutine-closures possible to be clonedMichael Goulet-2/+15
2024-07-26Rollup merge of #126090 - compiler-errors:supertrait-assoc-ty-unsoundness, r=...Matthias Krüger-114/+194
2024-07-25Rollup merge of #128160 - compiler-errors:auto, r=jackh726Matthias Krüger-0/+6
2024-07-24Don't ICE when auto trait has assoc ty in old solverMichael Goulet-0/+6
2024-07-24Do not assemble candidates for auto traits of opaque types in their defining ...Oli Scherer-1/+6
2024-07-24Do not try to reveal hidden types when trying to prove Freeze in the defining...Oli Scherer-7/+11
2024-07-24Don't use global caches if opaques can be definedOli Scherer-1/+7
2024-07-21Move all error reporting into rustc_trait_selectionMichael Goulet-6/+6
2024-07-21Auto merge of #127722 - BoxyUwU:new_adt_const_params_limitations, r=compiler-...bors-24/+87
2024-07-19Rollup merge of #127856 - RalfJung:interpret-cast-sanity, r=oli-obkMatthias Krüger-8/+12
2024-07-19Auto merge of #125915 - camelid:const-arg-refactor, r=BoxyUwUbors-2/+14
2024-07-18Remove tag field from relationsMichael Goulet-8/+4
2024-07-18const_to_pat: cleanup leftovers from when we had to deal with non-structural ...Ralf Jung-175/+0
2024-07-18valtree construction: keep track of which type was valtree-incompatibleRalf Jung-2/+2
2024-07-18interpret: add sanity check in dyn upcast to double-check what codegen doesRalf Jung-8/+12
2024-07-17Fix relationsMichael Goulet-2/+2
2024-07-17Split part of `adt_const_params` into `unsized_const_params`Boxy-33/+23
2024-07-17Forbid `!Sized` types and referencesBoxy-22/+95
2024-07-16Add `ConstArgKind::Path` and make `ConstArg` its own HIR nodeNoah Lev-2/+14
2024-07-15Fix unsoundness when associated types dont actually come from supertraitsMichael Goulet-110/+154
2024-07-15Item bounds can reference self projections and still be object safeMichael Goulet-44/+80
2024-07-11Remove fully_normalizeMichael Goulet-61/+22
2024-07-10Rollup merge of #127570 - lcnr:normalize-cool, r=compiler-errorsMatthias Krüger-8/+5
2024-07-10simplify and future-proof `needs_normalization`lcnr-8/+5
2024-07-10instantiate higher ranked goals in candidate selectionlcnr-54/+12
2024-07-09Split out overflow handling into its own moduleMichael Goulet-4/+4
2024-07-08Move trait selection error reporting to its own top-level moduleMichael Goulet-10465/+11
2024-07-08Rollup merge of #127439 - compiler-errors:uplift-elaborate, r=lcnr许杰友 Jieyou Xu (Joe)-1/+1
2024-07-08Rollup merge of #127437 - compiler-errors:uplift-trait-ref-is-knowable, r=lcnr许杰友 Jieyou Xu (Joe)-450/+2
2024-07-07Auto merge of #127172 - compiler-errors:full-can_eq-everywhere, r=lcnrbors-8/+7
2024-07-07Uplift trait_ref_is_knowable and friendsMichael Goulet-450/+2
2024-07-07Add fundamental to trait defMichael Goulet-1/+1
2024-07-07iter_identity is a better nameMichael Goulet-1/+1
2024-07-07Auto merge of #127404 - compiler-errors:rpitit-entailment-false-positive, r=o...bors-0/+4
2024-07-06Don't try to label ObligationCauseCode::CompareImplItem for an RPITIT, since ...Michael Goulet-0/+4
2024-07-06Import via rustc_type_ir::outlivesMichael Goulet-1/+1
2024-07-06Uplift push_outlives_componentsMichael Goulet-1/+1
2024-07-05Actually just make can_eq process obligations (almost) everywhereMichael Goulet-8/+7
2024-07-05Use `ControlFlow` results for visitors that are only looking for a single valueOli Scherer-4/+3
2024-07-03Auto merge of #125507 - compiler-errors:type-length-limit, r=lcnrbors-4/+5
2024-07-03Rollup merge of #126403 - compiler-errors:better-type-errors, r=lcnrJacob Pratt-48/+101
2024-07-03Auto merge of #123737 - compiler-errors:alias-wf, r=lcnrbors-9/+3
2024-07-02Actually report normalization-based type errors correctly for alias-relate ob...Michael Goulet-48/+101
2024-07-02Fix spansMichael Goulet-1/+2
2024-07-02Miscellaneous renamingMichael Goulet-3/+3
2024-07-02Rollup merge of #127230 - hattizai:patch01, r=saethlinMatthias Krüger-2/+2
2024-07-02Rollup merge of #127146 - compiler-errors:fast-reject, r=lcnrMatthias Krüger-2/+2