]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2627-raw-dylib/link-ordinal-not-foreign-fn.stderr
Auto merge of #99556 - davidtwco:collapse-debuginfo, r=wesleywiser
[rust.git] / src / test / ui / rfc-2627-raw-dylib / link-ordinal-not-foreign-fn.stderr
1 error: attribute should be applied to a foreign function or static
2   --> $DIR/link-ordinal-not-foreign-fn.rs:3:1
3    |
4 LL | #[link_ordinal(123)]
5    | ^^^^^^^^^^^^^^^^^^^^
6
7 error: attribute should be applied to a foreign function or static
8   --> $DIR/link-ordinal-not-foreign-fn.rs:7:1
9    |
10 LL | #[link_ordinal(123)]
11    | ^^^^^^^^^^^^^^^^^^^^
12
13 error: attribute should be applied to a foreign function or static
14   --> $DIR/link-ordinal-not-foreign-fn.rs:11:1
15    |
16 LL | #[link_ordinal(42)]
17    | ^^^^^^^^^^^^^^^^^^^
18
19 error: aborting due to 3 previous errors
20