]> git.lizzy.rs Git - rust.git/blob - tests/ui/lang-items/start_lang_item_args.argv_inner_ptr.stderr
Rollup merge of #105784 - yanns:update_stdarch, r=Amanieu
[rust.git] / tests / ui / lang-items / start_lang_item_args.argv_inner_ptr.stderr
1 error: parameter 3 of the `start` lang item is incorrect
2   --> $DIR/start_lang_item_args.rs:82:52
3    |
4 LL | fn start<T>(_main: fn() -> T, _argc: isize, _argv: *const *const usize, _sigpipe: u8) -> isize {
5    |                                                    ^^^^^^^^^^^^^^^^^^^
6    |
7 help: change the type from `*const *const usize` to `*const *const u8`
8    |
9 LL | fn start<T>(_main: fn() -> T, _argc: isize, _argv: *const *const u8, _sigpipe: u8) -> isize {
10    |                                                    ~~~~~~~~~~~~~~~~
11
12 error: aborting due to previous error
13