rust/tests/ui/rfc-2627-raw-dylib/link-ordinal-missing-argument.stderr

19 lines
494 B
Plaintext
Raw Normal View History

error: incorrect number of arguments to `#[link_ordinal]`
2022-07-29 13:18:07 -05:00
--> $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]`
2022-07-29 13:18:07 -05:00
--> $DIR/link-ordinal-missing-argument.rs:8:5
|
LL | #[link_ordinal()]
| ^^^^^^^^^^^^^^^^^
|
= note: the attribute requires exactly one argument
2022-07-29 13:18:07 -05:00
error: aborting due to 2 previous errors