Closed as not planned
Description
Currently, we require that the lifecycle that appears in an association type appear in a generic type.
This is to fix #32330 .
But this because the Output
is an associative type of the function.
trait F {
type Output;
}
Except for functions, no same type can implement different lifecycle Output
.
So the Output
as an association type is just an error.
See #33685 (comment)
Metadata
Metadata
Assignees
Labels
No labels