-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
error[E0658]: associated type bounds are unstable
|
144 | pub struct Ty<Ref: TypeRef = SubTy>(TyInner<Ref>);
| ^^^^^^^^^^^^
|
= note: see issue #52662 <https://github.com/rust-lang/rust/issues/52662> for more information
error[E0229]: associated type bindings are not allowed here
|
144 | pub struct Ty<Ref: TypeRef = SubTy>(TyInner<Ref>);
| ^^^^^^^^^^^^ associated type not allowed here
However
pub struct Ty<Ref: TypeRef>(TyInner<Ref>) where Ref: SubTy;works
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
No status