merge generalizer impls #111092
Labels
A-type-system
Area: Type system
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
E-hard
Call for participation: Hard difficulty. Experience needed to fix: A lot.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-types
Relevant to the types team, which will review and decide on the PR/issue.
we currently have 3 different implementations of "generalization":
https://doc.rust-lang.org/nightly/nightly-rustc/rustc_infer/infer/combine/struct.Generalizer.html
https://doc.rust-lang.org/nightly/nightly-rustc/rustc_infer/infer/nll_relate/struct.TypeGeneralizer.html
https://doc.rust-lang.org/nightly/nightly-rustc/rustc_infer/infer/combine/struct.ConstInferUnifier.html
These 3 should have the same behavior and should be merged.
cc #109813 where we have to do the same change in each of the generalizers.
The text was updated successfully, but these errors were encountered: