summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfc-2627-raw-dylib/link-ordinal-not-foreign-fn.stderr
blob: ec4104fbe50003b623eb704e2c65f0e3f31acb8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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