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