fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
612 B18 linesraw
1error[E0277]: the trait bound `&mut Baz: Happy` is not satisfied
2  --> $DIR/multiple-1.rs:52:9
3   |
4LL |     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   = help: the trait `Happy` is implemented for `&mut LDM`
10note: required by a bound in `foo`
11  --> $DIR/multiple-1.rs:45:26
12   |
13LL | fn foo<T>(_: T) where T: Happy {}
14   |                          ^^^^^ required by this bound in `foo`
15
16error: aborting due to previous error
17
18For more information about this error, try `rustc --explain E0277`.