summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/traits/coherence.rs
AgeCommit message (Expand)AuthorLines
2024-07-08Move trait selection error reporting to its own top-level moduleMichael Goulet-1/+1
2024-07-07Uplift trait_ref_is_knowable and friendsMichael Goulet-449/+1
2024-07-07Add fundamental to trait defMichael Goulet-1/+1
2024-06-30Uplift fast rejection to new solverMichael Goulet-1/+1
2024-06-15trait_selection: remove extra words许杰友 Jieyou Xu (Joe)-2/+2
2024-06-11Get rid of PredicateObligationsMichael Goulet-4/+2
2024-06-06Auto merge of #125958 - BoxyUwU:remove_const_ty, r=lcnrbors-1/+0
2024-06-05Basic removal of `Ty` from places (boring)Boxy-1/+0
2024-06-05Rollup merge of #125871 - fmease:fix-orphanck-opaques, r=lcnrMatthias Krüger-35/+24
2024-06-04Orphanck: Consider opaque types to never cover type parametersLeón Orell Valerian Liehr-35/+24
2024-06-03Opt-in diagnostics reporting to avoid doing extra work in the new solverMichael Goulet-1/+1
2024-06-03Make TraitEngines generic over errorMichael Goulet-1/+1
2024-05-13Auto merge of #125076 - compiler-errors:alias-term, r=lcnrbors-2/+2
2024-05-13split out AliasTy -> AliasTermMichael Goulet-2/+2
2024-05-13Remove `extern crate rustc_middle` from `rustc_trait_selection`.Nicholas Nethercote-0/+1
2024-05-02Use ObligationCtxt in favor of TraitEngine in many placesMichael Goulet-41/+38
2024-05-02shallow resolve in orphan checklcnr-27/+26
2024-04-30Auto merge of #117164 - fmease:orphan-norm, r=lcnrbors-65/+112
2024-04-30Normalize trait ref before orphan check & consider ty params in alias types t...León Orell Valerian Liehr-65/+112
2024-04-29Actually use probes when needed and stop relying on existing outer probesMichael Goulet-3/+2
2024-04-25hir typeck: look into nested goalslcnr-3/+7
2024-04-15Simplify shallow resolver to just fold ty/constsMichael Goulet-1/+1
2024-04-08Actually create ranged int types in the type system.Oli Scherer-0/+1
2024-04-04Use `DefineOpaqueTypes::Yes` where the new solver is unconditionally used alr...Oli Scherer-3/+7
2024-04-03rustc_index: Add a `ZERO` constant to index typesVadim Petrochenkov-5/+1
2024-03-31Remove EvaluatedToErrStackDependentMichael Goulet-1/+1
2024-03-06Auto merge of #122045 - matthiaskrgr:rollup-5l3vpn7, r=matthiaskrgrbors-2/+0
2024-03-05Convert `ProofTreeVisitor` to use `VisitorResult`Jason Newcomb-7/+4
2024-03-05Convert `TypeVisitor` and `DefIdVisitor` to use `VisitorResult`Jason Newcomb-12/+9
2024-03-05Stop using Bubble in coherence and instead emulate it with an intercrate checkOli Scherer-2/+0
2024-02-29track overflowing goals for overfow errorslcnr-27/+78
2024-02-28Rename `DiagnosticBuilder` as `Diag`.Nicholas Nethercote-2/+2
2024-02-25Rollup merge of #121060 - clubby789:bool-newtypes, r=cjgillotMatthias Krüger-3/+18
2024-02-23delay cloning of iterator itemsMatthias Krüger-16/+19
2024-02-20Add newtype for first input typeclubby789-3/+18
2024-02-19Prefer `DiagnosticBuilder` over `Diagnostic` in diagnostic modifiers.Nicholas Nethercote-2/+2
2024-02-16Use fulfillment in next trait solver coherenceMichael Goulet-34/+36
2024-02-12Dejargnonize substShoyu Vanilla-9/+9
2024-02-08introduce `enter_forall`Boxy-1/+1
2024-02-06Add CoroutineClosure to TyKind, AggregateKind, UpvarArgsMichael Goulet-1/+1
2024-01-30Deeply normalize when processing registered region obligationsMichael Goulet-0/+1
2024-01-08Make inductive cycles in coherence ambiguous alwaysMichael Goulet-58/+6
2023-12-15Rollup merge of #118727 - compiler-errors:lint-decorate, r=WaffleLapkinJubilee-1/+0
2023-12-15Don't pass lint back out of lint decoratorMichael Goulet-1/+0
2023-12-15Annotate some bugsMichael Goulet-3/+3
2023-12-14update use of feature flagslcnr-2/+2
2023-12-05Rollup merge of #118346 - compiler-errors:deeply-normalize-for-diagnostic, r=...Michael Goulet-2/+12
2023-12-05Add moreMichael Goulet-1/+1
2023-12-05Add deeply_normalize_for_diagnostics, use it in coherenceMichael Goulet-2/+12
2023-11-26Auto merge of #118267 - compiler-errors:ambiguity-causes, r=spastorinobors-24/+15