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