fork/rust

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

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

master
622 B17 linesraw
1error[E0277]: the trait bound `Something: Termination` is not satisfied
2  --> $DIR/issue-103052-1.rs:10:13
3   |
4LL |     receive(Something);
5   |     ------- ^^^^^^^^^ the trait `Termination` is not implemented for `Something`
6   |     |
7   |     required by a bound introduced by this call
8   |
9note: required by a bound in `receive`
10  --> $DIR/issue-103052-1.rs:5:20
11   |
12LL | fn receive(_: impl std::process::Termination) {}
13   |                    ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `receive`
14
15error: aborting due to previous error
16
17For more information about this error, try `rustc --explain E0277`.