summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-20772.rs
blob: 1500bc831528a599dcbd72bc45dbe8bc9d6c3616 (plain)
1
2
3
4
5
trait T : Iterator<Item=Self::Item>
//~^ ERROR cycle detected
{}

fn main() {}