Can create trait objects with self-containing bounds #38604
Labels
I-needs-decision
Issue: In need of a decision.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
T-lang
Relevant to the language team, which will review and decide on the PR/issue.
Meta
STR
Expected Result
Box<Foo>
is not well-formed, becauseu32: Q<Foo>
does not hold.Actual Result
Code compiles.
This does not seem to cause any trouble, but is a potential future-compatibility hazard if we start elaborating these bounds.
The text was updated successfully, but these errors were encountered: