rust/tests/ui/traits/cycle-generic-bound.rs

12 lines
200 B
Rust
Raw Normal View History

// run-pass
// Regression test for #15477. This test just needs to compile.
// pretty-expanded FIXME #23616
2015-03-31 19:58:01 -04:00
trait Chromosome<X: Chromosome<i32>> {
}
impl Chromosome<i32> for i32 { }
fn main() { }