about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src
AgeCommit message (Expand)AuthorLines
2024-07-21Fix toolsMichael Goulet-1/+1
2024-07-21Move all error reporting into rustc_trait_selectionMichael Goulet-105/+11669
2024-07-21Move need_type_info tooMichael Goulet-1/+1
2024-07-21Auto merge of #127722 - BoxyUwU:new_adt_const_params_limitations, r=compiler-...bors-24/+87
2024-07-20Rollup merge of #127987 - estebank:impl-trait-sugg, r=cjgillotMatthias Krüger-14/+34
2024-07-19More accurate suggestion for `-> Box<dyn Trait>` or `-> impl Trait`Esteban Küber-14/+34
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-4/+4
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-16Rollup merge of #127501 - compiler-errors:invert-infer-error-mod-struture, r=...Trevor Gross-7/+8
2024-07-16Fix the issue of invalid suggestion for a reference of iteratoryukang-1/+3
2024-07-15Move rustc_infer::infer::error_reporting to rustc_infer::error_reporting::inferMichael Goulet-7/+8
2024-07-15Make sure trait def ids match before zipping args in note_function_argument_o...Michael Goulet-0/+1
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-12Rollup merge of #127631 - compiler-errors:yeet-fully-norm, r=lcnrJubilee-61/+22
2024-07-11Remove fully_normalizeMichael Goulet-61/+22
2024-07-11Allows `#[diagnostic::do_not_recommend]` to supress trait impls in suggestion...Georg Semmler-0/+19
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 fulfillment error reporting a bit moreMichael Goulet-207/+220
2024-07-09Move some stuff into the ambiguity and suggestion modulesMichael Goulet-734/+742
2024-07-09Split out overflow handling into its own moduleMichael Goulet-185/+206
2024-07-08Move trait selection error reporting to its own top-level moduleMichael Goulet-76/+80
2024-07-08Rollup merge of #127439 - compiler-errors:uplift-elaborate, r=lcnr许杰友 Jieyou Xu (Joe)-9/+1
2024-07-08Rollup merge of #127437 - compiler-errors:uplift-trait-ref-is-knowable, r=lcnr许杰友 Jieyou Xu (Joe)-460/+3
2024-07-07Auto merge of #127172 - compiler-errors:full-can_eq-everywhere, r=lcnrbors-8/+18
2024-07-07Finish uplifting supertraitsMichael Goulet-8/+0
2024-07-07Get rid of trait_ref_is_knowable from delegateMichael Goulet-10/+0
2024-07-07Uplift trait_ref_is_knowable and friendsMichael Goulet-450/+3
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-05Rollup merge of #127366 - oli-obk:falliblevisitor, r=compiler-errorsMichael Goulet-4/+3
2024-07-05Split SolverDelegate back out from InferCtxtLikeMichael Goulet-169/+2
2024-07-05Actually just make can_eq process obligations (almost) everywhereMichael Goulet-8/+18
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