1 error[E0277]: the trait bound `&mut Baz: Happy` is not satisfied
2 --> $DIR/multiple-1.rs:52:9
5 | --- ^^^^^^^^ the trait `Happy` is not implemented for `&mut Baz`
7 | required by a bound introduced by this call
9 note: required by a bound in `foo`
10 --> $DIR/multiple-1.rs:45:26
12 LL | fn foo<T>(_: T) where T: Happy {}
13 | ^^^^^ required by this bound in `foo`
15 error: aborting due to previous error
17 For more information about this error, try `rustc --explain E0277`.