]> git.lizzy.rs Git - rust.git/blob - src/test/ui/traits/suggest-deferences/multiple-1.stderr
Merge commit '0e87918536b9833bbc6c683d1f9d51ee2bf03ef1' into clippyup
[rust.git] / src / test / ui / traits / suggest-deferences / multiple-1.stderr
1 error[E0277]: the trait bound `&mut Baz: Happy` is not satisfied
2   --> $DIR/multiple-1.rs:52:9
3    |
4 LL | fn foo<T>(_: T) where T: Happy {}
5    |                          ----- required by this bound in `foo`
6 ...
7 LL |     foo(&mut baz);
8    |         ^^^^^^^^ the trait `Happy` is not implemented for `&mut Baz`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0277`.