Method matching against type parameters/boxed traits/classes is much less powerful than against impls #3274
Labels
A-type-system
Area: Type system
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
Once explicit self types work properly (see #3268), we want to be able to do all of the dirty tricks we do when matching against impls (matching by type assignability and autoref) when just resolving the method directly from the type. Right now, we only do these tricks when searching for a matching impl.
The text was updated successfully, but these errors were encountered: