-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
Closed
Labels
A-associated-itemsArea: Associated items (types, constants & functions)Area: Associated items (types, constants & functions)E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
Description
#![feature(associated_types)]
trait PoolManager {
type C;
}
struct InnerPool<M: PoolManager> {
manager: M,
}
fn main() {}test.rs:7:21: 7:32 error: no suitable bound on `<generic #0>`
test.rs:7 struct InnerPool<M: PoolManager> {
^~~~~~~~~~~
error: aborting due to previous error
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-associated-itemsArea: Associated items (types, constants & functions)Area: Associated items (types, constants & functions)E-needs-testCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Call for participation: An issue has been fixed and does not reproduce, but no test has been added.