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