Conversation
|
These commits modify the If this was unintentional then you should revert the changes before this PR is merged. Some changes occurred to the core trait solver cc @rust-lang/initiative-trait-system-refactor |
| self.normalize_inherent_associated_type(goal) | ||
| } | ||
| } | ||
| match goal.predicate.alias.kind(self.tcx()) { |
There was a problem hiding this comment.
I really like this cleanup lol
This comment has been minimized.
This comment has been minimized.
5a134ab to
5ef51d5
Compare
lcnr
left a comment
There was a problem hiding this comment.
some nits and questions, then r=me
| @@ -0,0 +1,18 @@ | |||
| use rustc_macros::{HashStable_NoContext, TyDecodable, TyEncodable}; | |||
There was a problem hiding this comment.
feel like this doesn't necessarily deserve it's own module 🤔 would maybe also put it into lib.rs
edit: we actually already have a lot of modules in rustc_type_ir, so let's keep the current setup, at least for this PR and maybe merge these modules separately
There was a problem hiding this comment.
Yeah, idk, because there's also value with not creating one module that has a lot of stuff, so I am biased to split it up more. Maybe worth grouping this and other things in a different way tho.
and make NestedGoals generic
I tried to rebase this down into the first commit but it is WAY too annoying x
5ef51d5 to
8e1dba4
Compare
|
@bors r+ rollup=iffy |
|
☀️ Test successful - checks-actions |
|
Finished benchmarking commit (7690f29): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results (primary -3.9%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResults (primary -4.6%)This is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 669.038s -> 667.801s (-0.18%) |
… r=lcnr Make `EvalCtxt` generic over `InferCtxtLike` ...but don't change any of the impls, yet! These can get uplifted as we add more methods to `InferCtxtLike`/`Interner` :3 This is built on top of rust-lang#125230. r? lcnr
… r=lcnr Make `EvalCtxt` generic over `InferCtxtLike` ...but don't change any of the impls, yet! These can get uplifted as we add more methods to `InferCtxtLike`/`Interner` :3 This is built on top of rust-lang#125230. r? lcnr
… r=lcnr Make `EvalCtxt` generic over `InferCtxtLike` ...but don't change any of the impls, yet! These can get uplifted as we add more methods to `InferCtxtLike`/`Interner` :3 This is built on top of rust-lang#125230. r? lcnr
Rollup merge of rust-lang#125255 - compiler-errors:eval-ctxt-generic, r=lcnr Make `EvalCtxt` generic over `InferCtxtLike` ...but don't change any of the impls, yet! These can get uplifted as we add more methods to `InferCtxtLike`/`Interner` :3 This is built on top of rust-lang#125230. r? lcnr
ProofTreestructures and make theProofTreeBuilderstuff (mostly) generic overInternerTyCtxt::def_kindin favor ofAliasTerm::kindr? lcnr