1 error[E0277]: the trait bound `Something: Termination` is not satisfied
2 --> $DIR/issue-103052-2.rs:12:22
4 LL | fn main() -> Something {
5 | ^^^^^^^^^ the trait `Termination` is not implemented for `Something`
7 note: required by a bound in `Main::main::{opaque#0}`
8 --> $DIR/issue-103052-2.rs:6:27
10 LL | fn main() -> impl std::process::Termination;
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Main::main::{opaque#0}`
13 error: aborting due to previous error
15 For more information about this error, try `rustc --explain E0277`.