]>
Commit | Line | Data |
---|---|---|
781aab86 FG |
1 | error[E0308]: lang item `start` function has wrong type |
2 | --> $DIR/start_lang_item_args.rs:61:1 | |
9c376795 FG |
3 | | |
4 | LL | fn start<T>(_main: fn(i32) -> T, _argc: isize, _argv: *const *const u8, _sigpipe: u8) -> isize { | |
781aab86 | 5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ incorrect number of function parameters |
9c376795 | 6 | | |
781aab86 FG |
7 | = note: expected signature `fn(fn() -> _, _, _, _) -> _` |
8 | found signature `fn(fn(i32) -> _, _, _, _) -> _` | |
9c376795 | 9 | |
4b012472 | 10 | error: aborting due to 1 previous error |
9c376795 | 11 | |
781aab86 | 12 | For more information about this error, try `rustc --explain E0308`. |