blob: 481a06d2797d5442855af8891cc76fb7d7fe0eb1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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
|