1 error[E0277]: the trait bound `&dyn Trait: Trait` is not satisfied
2 --> $DIR/coherence-unsafe-trait-object-impl.rs:15:13
5 | ------- ^ the trait `Trait` is not implemented for `&dyn Trait`
7 | required by a bound introduced by this call
9 note: required by a bound in `takes_t`
10 --> $DIR/coherence-unsafe-trait-object-impl.rs:10:15
12 LL | fn takes_t<S: Trait>(s: S) {
13 | ^^^^^ required by this bound in `takes_t`
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0277`.