about summary refs log tree commit diff
path: root/tests/ui/traits/cycle-generic-bound.rs
blob: 0fb0f74a6eac5a29db312d7cf482baeb358a77a4 (plain)
1
2
3
4
5
6
7
8
9
10
//@ check-pass
// Regression test for #15477. This test just needs to compile.


trait Chromosome<X: Chromosome<i32>> {
}

impl Chromosome<i32> for i32 { }

fn main() { }