use sealed::sealed; trait Foo {} #[sealed(erase)] trait Trait {} fn main() {}