refactor builtin unsize handling, extend comments#114169
refactor builtin unsize handling, extend comments#114169bors merged 2 commits intorust-lang:masterfrom
Conversation
|
Some changes occurred to the core trait solver cc @rust-lang/initiative-trait-system-refactor |
This comment has been minimized.
This comment has been minimized.
| a_data: &'tcx ty::List<ty::PolyExistentialPredicate<'tcx>>, | ||
| a_region: ty::Region<'tcx>, | ||
| b_data: &'tcx ty::List<ty::PolyExistentialPredicate<'tcx>>, | ||
| b_region: ty::Region<'tcx>, |
There was a problem hiding this comment.
I don't think it costs very much to just destructure ty::Dynamic again and bug!() here instead of passing this data, but I guess it's ok 😅
That is, I'd rather just pass all the data once (in the goal) rather than both as one package (the goal) + partially destructured (a/b data)
| b_data: &'tcx ty::List<ty::PolyExistentialPredicate<'tcx>>, | ||
| b_region: ty::Region<'tcx>, |
|
@bors r=compiler-errors rollup I see where you're coming from but also dislike having to |
…iaskrgr Rollup of 9 pull requests Successful merges: - rust-lang#114111 (Improve test case for experimental API remove_matches) - rust-lang#114169 (refactor builtin unsize handling, extend comments) - rust-lang#114182 (clean up after 113312) - rust-lang#114193 (Update lexer emoji diagnostics to Unicode 15.0) - rust-lang#114200 (Detect trait upcasting through struct tail unsizing in new solver select) - rust-lang#114228 (Check lazy type aliases for well-formedness) - rust-lang#114267 (Map RPITIT's opaque type bounds back from projections to opaques) - rust-lang#114269 (Migrate GUI colors test to original CSS color format) - rust-lang#114286 (Add missing feature gate in multiple_supertrait_upcastable doc) r? `@ghost` `@rustbot` modify labels: rollup
|
While working on #114209 i noticed that |
|
the changes are non-functional so I think it should still be in sync, but I did not think about this explicitly so I am going to take another look. |
r? @compiler-errors