2022-10-17 05:04:16 -05:00
|
|
|
error[E0277]: the trait bound `Something: Termination` is not satisfied
|
2023-03-21 14:52:15 -05:00
|
|
|
--> $DIR/issue-103052-2.rs:15:22
|
2022-10-17 05:04:16 -05:00
|
|
|
|
|
|
|
|
LL | fn main() -> Something {
|
|
|
|
| ^^^^^^^^^ the trait `Termination` is not implemented for `Something`
|
|
|
|
|
|
2023-03-21 14:52:15 -05:00
|
|
|
note: required by a bound in `Main::{opaque#0}`
|
|
|
|
--> $DIR/issue-103052-2.rs:9:27
|
2022-10-17 05:04:16 -05:00
|
|
|
|
|
|
|
|
LL | fn main() -> impl std::process::Termination;
|
2023-03-21 14:52:15 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Main::{opaque#0}`
|
2022-10-17 05:04:16 -05:00
|
|
|
|
2023-11-21 13:26:31 -06:00
|
|
|
error: aborting due to 1 previous error
|
2022-10-17 05:04:16 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|