]> git.proxmox.com Git - rustc.git/blame - tests/ui/lang-items/start_lang_item_args.main_ty.stderr
New upstream version 1.76.0+dfsg1
[rustc.git] / tests / ui / lang-items / start_lang_item_args.main_ty.stderr
CommitLineData
781aab86 1error[E0308]: lang item `start` function has wrong type
9c376795
FG
2 --> $DIR/start_lang_item_args.rs:54:20
3 |
4LL | fn start<T>(_main: u64, _argc: isize, _argv: *const *const u8, _sigpipe: u8) -> isize {
781aab86
FG
5 | ^^^ expected fn pointer, found `u64`
6 |
7 = note: expected signature `fn(fn() -> T, _, _, _) -> _`
8 found signature `fn(u64, _, _, _) -> _`
9c376795 9
4b012472 10error: aborting due to 1 previous error
9c376795 11
781aab86 12For more information about this error, try `rustc --explain E0308`.