rust/tests/ui/lang-items/start_lang_item_args.missing_ret.stderr
2023-01-11 14:35:08 -08:00

9 lines
371 B
Plaintext

error: the return type of the `start` lang item is incorrect
--> $DIR/start_lang_item_args.rs:29:84
|
LL | fn start<T>(_main: fn() -> T, _argc: isize, _argv: *const *const u8, _sigpipe: u8) {}
| ^ help: change the type from `()` to `isize`
error: aborting due to previous error