// Test provided in #4 // https://github.com/jmg-duarte/sealed-rs/issues/4 use sealed::sealed; #[sealed] pub trait Set {} // pub trait Set: __seal_for_set::Sealed {} // mod __seal_for_set { // pub trait Sealed {} // } #[sealed] impl Set> for T {} // impl __seal_for_set::Sealed> for T {} #[sealed] impl Set> for Option {} // impl __seal_for_set::Sealed> for Option {} fn main() {}