inherent assoc tys resolve with subtyping not equality #109789
Labels
C-bug
Category: This is a bug.
F-inherent_associated_types
`#![feature(inherent_associated_types)]`
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.
I tried this code:
I expected to see this happen: It not to compile as
Foo<for<'a> fn(&'a ())>
has no inherent impl defined on itInstead, this happened: it compiled
Meta
playground's nightly:
The text was updated successfully, but these errors were encountered: