// check-pass trait IntoIt { type Item; } impl IntoIt for I { type Item = (); } trait BaseGraph where ::Item: Sized, { type VertexIter: IntoIt; } fn main() {}