mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
17dfabff9c
They refer to a function with the `start` attribute, but not necessarily named `start`.
10 lines
415 B
Plaintext
10 lines
415 B
Plaintext
error[E0647]: `#[start]` function is not allowed to have a `where` clause
|
|
--> $DIR/issue-50714-1.rs:9:50
|
|
|
|
|
LL | fn start(_: isize, _: *const *const u8) -> isize where fn(&()): Eq {
|
|
| ^^^^^^^^^^^^^^^^^ `#[start]` function cannot have a `where` clause
|
|
|
|
error: aborting due to previous error
|
|
|
|
For more information about this error, try `rustc --explain E0647`.
|