17dfabff9c
They refer to a function with the `start` attribute, but not necessarily named `start`.
11 lines
373 B
Plaintext
11 lines
373 B
Plaintext
error: `#[start]` function is not allowed to be `#[track_caller]`
|
|
--> $DIR/error-with-start.rs:4:1
|
|
|
|
|
LL | #[track_caller]
|
|
| ^^^^^^^^^^^^^^^
|
|
LL | fn start(_argc: isize, _argv: *const *const u8) -> isize {
|
|
| -------------------------------------------------------- `#[start]` function is not allowed to be `#[track_caller]`
|
|
|
|
error: aborting due to previous error
|
|
|