]> git.lizzy.rs Git - rust.git/blob - tests/ui/rfc-1937-termination-trait/termination-trait-not-satisfied.stderr
Rollup merge of #106692 - eggyal:mv-binary_heap.rs-binary_heap/mod.rs, r=Mark-Simulacrum
[rust.git] / tests / ui / rfc-1937-termination-trait / termination-trait-not-satisfied.stderr
1 error[E0277]: `main` has invalid return type `ReturnType`
2   --> $DIR/termination-trait-not-satisfied.rs:3:14
3    |
4 LL | fn main() -> ReturnType {
5    |              ^^^^^^^^^^ `main` can only return types that implement `Termination`
6    |
7    = help: consider using `()`, or a `Result`
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0277`.