fork/rust

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

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

master
649 B15 linesraw
1error[E0277]: the trait bound `dyn Trait: AutoTrait` is not satisfied
2  --> $DIR/self-in-where-clause-allowed.rs:22:18
3   |
4LL |     trait_object.autotrait_bound();
5   |                  ^^^^^^^^^^^^^^^ the trait `AutoTrait` is not implemented for `dyn Trait`
6   |
7note: required by a bound in `Trait::autotrait_bound`
8  --> $DIR/self-in-where-clause-allowed.rs:13:43
9   |
10LL |     fn autotrait_bound(&self) where Self: AutoTrait {}
11   |                                           ^^^^^^^^^ required by this bound in `Trait::autotrait_bound`
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0277`.