mirror of
https://github.com/rust-lang/rust
synced 2024-09-05 16:57:03 +00:00
19 lines
211 B
Rust
19 lines
211 B
Rust
//@ check-pass
|
|
|
|
trait IntoIt {
|
|
type Item;
|
|
}
|
|
|
|
impl<I> IntoIt for I {
|
|
type Item = ();
|
|
}
|
|
|
|
trait BaseGraph
|
|
where
|
|
<Self::VertexIter as IntoIt>::Item: Sized,
|
|
{
|
|
type VertexIter: IntoIt;
|
|
}
|
|
|
|
fn main() {}
|