rust/tests/ui/rfcs/rfc-2627-raw-dylib/link-ordinal-too-many-arguments.stderr

19 lines
514 B
Plaintext
Raw Normal View History

error: incorrect number of arguments to `#[link_ordinal]`
--> $DIR/link-ordinal-too-many-arguments.rs:3:5
|
LL | #[link_ordinal(3, 4)]
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: the attribute requires exactly one argument
error: incorrect number of arguments to `#[link_ordinal]`
--> $DIR/link-ordinal-too-many-arguments.rs:6:5
|
LL | #[link_ordinal(3, 4)]
| ^^^^^^^^^^^^^^^^^^^^^
|
= note: the attribute requires exactly one argument
2022-07-29 13:18:07 -05:00
error: aborting due to 2 previous errors