rust/compiler/rustc_trait_selection/src/solve
许杰友 Jieyou Xu (Joe) 4c1228276b
Rollup merge of #125664 - compiler-errors:trace-tweaks, r=lcnr
Tweak relations to no longer rely on `TypeTrace`

Remove `At::trace`, and inline all of the `Trace::equate`,etc methods into `At`.

The only nontrivial change is that we use `AliasTerm` to relate two unevaluated consts in the old-solver impl of `ConstEquate`, since `AliasTerm` does implement `ToTrace` and will relate the args structurally (shallowly).

r? lcnr
2024-05-29 03:25:11 +01:00
..
assembly EvalCtxt::tcx() -> EvalCtxt::interner() 2024-05-28 10:45:51 -04:00
eval_ctxt Rollup merge of #125664 - compiler-errors:trace-tweaks, r=lcnr 2024-05-29 03:25:11 +01:00
inspect Make ProofTreeBuilder actually generic over interner 2024-05-28 11:10:11 -04:00
normalizes_to EvalCtxt::tcx() -> EvalCtxt::interner() 2024-05-28 10:45:51 -04:00
alias_relate.rs EvalCtxt::tcx() -> EvalCtxt::interner() 2024-05-28 10:45:51 -04:00
fulfill.rs remove proof tree formatter, make em shallow 2024-05-24 18:41:31 +00:00
mod.rs EvalCtxt::tcx() -> EvalCtxt::interner() 2024-05-28 10:45:51 -04:00
normalize.rs split out AliasTy -> AliasTerm 2024-05-13 11:59:42 -04:00
project_goals.rs EvalCtxt::tcx() -> EvalCtxt::interner() 2024-05-28 10:45:51 -04:00
search_graph.rs Make ProofTreeBuilder actually generic over interner 2024-05-28 11:10:11 -04:00
trait_goals.rs EvalCtxt::tcx() -> EvalCtxt::interner() 2024-05-28 10:45:51 -04:00