]> git.lizzy.rs Git - rust.git/blob - tests/ui/lang-items/start_lang_item_args.missing_all_args.stderr
Rollup merge of #107692 - Swatinem:printsizeyield, r=compiler-errors
[rust.git] / tests / ui / lang-items / start_lang_item_args.missing_all_args.stderr
1 error: incorrect number of parameters for the `start` lang item
2   --> $DIR/start_lang_item_args.rs:15:1
3    |
4 LL | fn start<T>() -> isize {
5    | ^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: the `start` lang item should have four parameters, but found 0
8    = note: the `start` lang item should have the signature `fn(fn() -> T, isize, *const *const u8, u8) -> isize`
9
10 error: aborting due to previous error
11