mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
21 lines
554 B
Plaintext
21 lines
554 B
Plaintext
error: attribute should be applied to a foreign function or static
|
|
--> $DIR/link-ordinal-not-foreign-fn.rs:3:1
|
|
|
|
|
LL | #[link_ordinal(123)]
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: attribute should be applied to a foreign function or static
|
|
--> $DIR/link-ordinal-not-foreign-fn.rs:7:1
|
|
|
|
|
LL | #[link_ordinal(123)]
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: attribute should be applied to a foreign function or static
|
|
--> $DIR/link-ordinal-not-foreign-fn.rs:11:1
|
|
|
|
|
LL | #[link_ordinal(42)]
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 3 previous errors
|
|
|