]> git.lizzy.rs Git - rust.git/blob - tests/ui/lang-items/start_lang_item_args.main_ty.stderr
check -Z query-dep-graph is enabled if -Z dump-dep-graph (#106736)
[rust.git] / tests / ui / lang-items / start_lang_item_args.main_ty.stderr
1 error: parameter 1 of the `start` lang item is incorrect
2   --> $DIR/start_lang_item_args.rs:54:20
3    |
4 LL | fn start<T>(_main: u64, _argc: isize, _argv: *const *const u8, _sigpipe: u8) -> isize {
5    |                    ^^^ help: change the type from `u64` to `fn() -> T`
6
7 error: aborting due to previous error
8