mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
19 lines
494 B
Plaintext
19 lines
494 B
Plaintext
error: incorrect number of arguments to `#[link_ordinal]`
|
|
--> $DIR/link-ordinal-missing-argument.rs:5:5
|
|
|
|
|
LL | #[link_ordinal()]
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: the attribute requires exactly one argument
|
|
|
|
error: incorrect number of arguments to `#[link_ordinal]`
|
|
--> $DIR/link-ordinal-missing-argument.rs:8:5
|
|
|
|
|
LL | #[link_ordinal()]
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: the attribute requires exactly one argument
|
|
|
|
error: aborting due to 2 previous errors
|
|
|