]> git.lizzy.rs Git - rust.git/blob - src/test/ui/traits/suggest-deferences/multiple-0.stderr
further update `fuzzy_match_tys`
[rust.git] / src / test / ui / traits / suggest-deferences / multiple-0.stderr
1 error[E0277]: the trait bound `&Baz: Happy` is not satisfied
2   --> $DIR/multiple-0.rs:34:9
3    |
4 LL |     foo(&baz);
5    |     --- ^^^^
6    |     |   |
7    |     |   the trait `Happy` is not implemented for `&Baz`
8    |     |   help: consider adding dereference here: `&***baz`
9    |     required by a bound introduced by this call
10    |
11 note: required by a bound in `foo`
12   --> $DIR/multiple-0.rs:30:26
13    |
14 LL | fn foo<T>(_: T) where T: Happy {}
15    |                          ^^^^^ required by this bound in `foo`
16
17 error: aborting due to previous error
18
19 For more information about this error, try `rustc --explain E0277`.