]> git.lizzy.rs Git - rust.git/blob - src/test/ui/traits/suggest-deferences/multiple-1.stderr
Auto merge of #88088 - nbdd0121:const2, r=nagisa
[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 |     foo(&mut baz);
5    |         ^^^^^^^^ the trait `Happy` is not implemented for `&mut Baz`
6    |
7 note: required by a bound in `foo`
8   --> $DIR/multiple-1.rs:45:26
9    |
10 LL | fn foo<T>(_: T) where T: Happy {}
11    |                          ^^^^^ required by this bound in `foo`
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0277`.