rust/compiler/rustc_trait_selection/src
Michael Goulet e3bf0a13cf
Rollup merge of #124418 - compiler-errors:better-cause, r=lcnr
Use a proof tree visitor to refine the `Obligation` for error reporting in new solver

With the magic of `ProofTreeVisitor`, we can close the gap that we have on `ObligationCause`s being not as descriptive in the new trait solver.

r? lcnr

Needs some work and obviously documentation.
2024-05-03 23:34:21 -04:00
..
solve Rollup merge of #124418 - compiler-errors:better-cause, r=lcnr 2024-05-03 23:34:21 -04:00
traits Take ocx by move for pending obligations 2024-05-02 22:03:01 -04:00
errors.rs Remove extern crate rustc_macros from numerous crates. 2024-04-29 10:21:54 +10:00
infer.rs Use ObligationCtxt in favor of TraitEngine in many places 2024-05-02 22:03:01 -04:00
lib.rs Step bootstrap cfgs 2024-05-01 22:19:11 -04:00
regions.rs Remove extern crate rustc_macros from numerous crates. 2024-04-29 10:21:54 +10:00