summaryrefslogtreecommitdiffstats
path: root/src/test/ui/cycle-trait/cycle-trait-supertrait-direct.rs
blob: e6ab2c790d65666606df43bd1401db3276399622 (plain)
1
2
3
4
5
6
7
// Test a supertrait cycle where a trait extends itself.

trait Chromosome: Chromosome {
    //~^ ERROR cycle detected
}

fn main() { }