summaryrefslogtreecommitdiffstats
path: root/tests/ui/lang-items/start_lang_item_args.missing_ret.stderr
blob: 1d8285b59000aa5f59835af7aedf3f3e38f4034b (plain)
1
2
3
4
5
6
7
8
error: the return type of the `start` lang item is incorrect
  --> $DIR/start_lang_item_args.rs:29:84
   |
LL | fn start<T>(_main: fn() -> T, _argc: isize, _argv: *const *const u8, _sigpipe: u8) {}
   |                                                                                    ^ help: change the type from `()` to `isize`

error: aborting due to previous error