]> git.lizzy.rs Git - rust.git/blob - tests/ui/lang-items/start_lang_item_args.main_args.stderr
Rollup merge of #104645 - yukiomoto:log-backtrace-option, r=oli-obk
[rust.git] / tests / ui / lang-items / start_lang_item_args.main_args.stderr
1 error: parameter 1 of the `start` lang item is incorrect
2   --> $DIR/start_lang_item_args.rs:61:20
3    |
4 LL | fn start<T>(_main: fn(i32) -> T, _argc: isize, _argv: *const *const u8, _sigpipe: u8) -> isize {
5    |                    ^^^^^^^^^^^^
6    |
7 help: change the type from `fn(i32) -> T` to `fn() -> T`
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