summaryrefslogtreecommitdiffstats
path: root/tests/ui/lang-items/start_lang_item_args.start_ret.stderr
blob: 935d5f3c8b4261e979b76212f4c3ff963fd223f3 (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:34:87
   |
LL | fn start<T>(_main: fn() -> T, _argc: isize, _argv: *const *const u8, _sigpipe: u8) -> u8 {
   |                                                                                       ^^ help: change the type from `u8` to `isize`

error: aborting due to previous error