Closed
Description
On my inheritance branch this currently compiles
trait A { }
trait B: A { }
enum Foo = int;
impl Foo: B { }
I don't think there's anything unsound about this because rustc will generate an error as soon as you try to use trait A
on Foo
, but it should still be caught by looking at the impl of B.