fork/rust

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

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

master
617 B21 linesraw
1error[E0277]: the trait bound `&Baz: Happy` is not satisfied
2  --> $DIR/multiple-0.rs:34:9
3   |
4LL |     foo(&baz);
5   |     --- ^^^^ the trait `Happy` is not implemented for `&Baz`
6   |     |
7   |     required by a bound introduced by this call
8   |
9note: required by a bound in `foo`
10  --> $DIR/multiple-0.rs:30:26
11   |
12LL | fn foo<T>(_: T) where T: Happy {}
13   |                          ^^^^^ required by this bound in `foo`
14help: consider dereferencing here
15   |
16LL |     foo(&***baz);
17   |          +++
18
19error: aborting due to previous error
20
21For more information about this error, try `rustc --explain E0277`.