]> git.lizzy.rs Git - rust.git/blob - tests/ui/lang-items/start_lang_item_args.missing_ret.stderr
Rollup merge of #96763 - Abdur-rahmaanJ:patch-1, r=Mark-Simulacrum
[rust.git] / tests / ui / lang-items / start_lang_item_args.missing_ret.stderr
1 error: the return type of the `start` lang item is incorrect
2   --> $DIR/start_lang_item_args.rs:29:84
3    |
4 LL | fn start<T>(_main: fn() -> T, _argc: isize, _argv: *const *const u8, _sigpipe: u8) {}
5    |                                                                                    ^ help: change the type from `()` to `isize`
6
7 error: aborting due to previous error
8