summary refs log tree commit diff
path: root/src/test/ui/issues/issue-20772.rs
blob: 36551e7014f10cd4df110ad7bda21c3e9002eb8a (plain)
1
2
3
4
5
6
trait T : Iterator<Item=Self::Item>
//~^ ERROR cycle detected
//~| ERROR associated type `Item` not found for `Self`
{}

fn main() {}