2023-09-22 15:58:43 +02:00
|
|
|
error: `#[start]` function is not allowed to be `#[track_caller]`
|
2020-08-04 07:30:04 +02:00
|
|
|
--> $DIR/error-with-start.rs:4:1
|
|
|
|
|
|
2020-08-12 17:02:14 -04:00
|
|
|
LL | #[track_caller]
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
LL | fn start(_argc: isize, _argv: *const *const u8) -> isize {
|
2023-09-22 15:58:43 +02:00
|
|
|
| -------------------------------------------------------- `#[start]` function is not allowed to be `#[track_caller]`
|
2020-08-04 07:30:04 +02:00
|
|
|
|
2023-11-21 15:44:16 +00:00
|
|
|
error: aborting due to 1 previous error
|
2020-08-04 07:30:04 +02:00
|
|
|
|