1 // Regression test for #39618, shouldn't crash.
2 // FIXME(JohnTitor): Centril pointed out this looks suspicions, we should revisit here.
3 // More context: https://github.com/rust-lang/rust/pull/69192#discussion_r379846796
7 #![feature(specialization)]
17 impl<T> Bar for T where T: Foo {
21 impl<T> Foo for T where T: Bar {