rust/tests/ui/traits/cycle-generic-bound.rs
2024-02-16 20:02:50 +00:00

12 lines
204 B
Rust

//@ check-pass
// Regression test for #15477. This test just needs to compile.
//@ pretty-expanded FIXME #23616
trait Chromosome<X: Chromosome<i32>> {
}
impl Chromosome<i32> for i32 { }
fn main() { }