blob: 00395a05d33f733cd8cf16f7bcfe66c5a7e6f35f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
error[E0308]: lang item `start` function has wrong type
--> $DIR/start_lang_item_args.rs:68:20
|
LL | fn start<T>(_main: fn() -> u16, _argc: isize, _argv: *const *const u8, _sigpipe: u8) -> isize {
| - ^^^^^^^^^^^ expected type parameter `T`, found `u16`
| |
| expected this type parameter
|
= note: expected signature `fn(fn() -> T, _, _, _) -> _`
found signature `fn(fn() -> u16, _, _, _) -> _`
error: aborting due to 1 previous error
For more information about this error, try `rustc --explain E0308`.
|