]> git.lizzy.rs Git - rust.git/blob - src/test/ui/traits/suggest-deferences/multiple-1.stderr
Rollup merge of #87260 - antoyo:libgccjit-codegen, r=Mark-Simulacrum
[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    |     required by a bound introduced by this call
8    |
9 note: required by a bound in `foo`
10   --> $DIR/multiple-1.rs:45:26
11    |
12 LL | fn foo<T>(_: T) where T: Happy {}
13    |                          ^^^^^ required by this bound in `foo`
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0277`.