1 2 3 4 5 6 7 8
use sealed::sealed; trait Foo {} #[sealed(erase)] trait Trait<T: ?Sized + Foo> {} fn main() {}