fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0277]: the trait bound `S: Hidden` is not satisfied 2 --> $DIR/sealed-trait-local.rs:17:20 3 | 4LL | impl a::Sealed for S {} 5 | ^ the trait `Hidden` is not implemented for `S` 6 | 7note: required by a bound in `Sealed` 8 --> $DIR/sealed-trait-local.rs:3:23 9 | 10LL | pub trait Sealed: self::b::Hidden { 11 | ^^^^^^^^^^^^^^^ required by this bound in `Sealed` 12 = note: `Sealed` is a "sealed trait", because to implement it you also need to implement `a::b::Hidden`, which is not accessible; this is usually done to force you to use one of the provided types that already implement it 13 14error: aborting due to previous error 15 16For more information about this error, try `rustc --explain E0277`.