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