2023-06-24 00:00:08 -03:00
|
|
|
error[E0277]: the trait bound `Something: Termination` is not satisfied
|
2024-03-11 19:41:40 +00:00
|
|
|
--> $DIR/issue-103052-2.rs:9:22
|
2023-06-24 00:00:08 -03:00
|
|
|
|
|
|
|
|
LL | fn main() -> Something {
|
|
|
|
| ^^^^^^^^^ the trait `Termination` is not implemented for `Something`
|
|
|
|
|
|
2024-02-27 16:02:19 +00:00
|
|
|
note: required by a bound in `Main::{synthetic#0}`
|
2024-03-11 19:41:40 +00:00
|
|
|
--> $DIR/issue-103052-2.rs:3:27
|
2023-06-24 00:00:08 -03:00
|
|
|
|
|
|
|
|
LL | fn main() -> impl std::process::Termination;
|
2024-02-27 16:02:19 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Main::{synthetic#0}`
|
2023-06-24 00:00:08 -03:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2023-06-24 00:00:08 -03:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|