15 lines
361 B
Plaintext
15 lines
361 B
Plaintext
error: cannot use `#[link_name]` with `#[link_ordinal]`
|
|
--> $DIR/link-ordinal-and-name.rs:6:5
|
|
|
|
|
LL | #[link_ordinal(42)]
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: cannot use `#[link_name]` with `#[link_ordinal]`
|
|
--> $DIR/link-ordinal-and-name.rs:10:5
|
|
|
|
|
LL | #[link_ordinal(5)]
|
|
| ^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|