explain generalization when talking about type inference #1820
Labels
A-inference
Area: type inference
E-hard
Difficulty: might require advanced knowledge
I-terse
Issue: info is very terse
T-types
Relevant to types team
generalization is a core - and subtle - part of type inference and currently not explained in the guide. We should change that. We should talk about equality in general, the current section only mentions how to use equality, but doesn't actually explain how it works https://rustc-dev-guide.rust-lang.org/type-inference.html?highlight=equate#enforcing-equality--subtyping
The text was updated successfully, but these errors were encountered: