summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfcs/rfc-2627-raw-dylib/link-ordinal-unsupported-link-kind.stderr
blob: 200b8f6287465be19943351ed383cf7e867b4a78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: `#[link_ordinal]` is only supported if link kind is `raw-dylib`
  --> $DIR/link-ordinal-unsupported-link-kind.rs:3:5
   |
LL |     #[link_ordinal(3)]
   |     ^^^^^^^^^^^^^^^^^^

error: `#[link_ordinal]` is only supported if link kind is `raw-dylib`
  --> $DIR/link-ordinal-unsupported-link-kind.rs:10:5
   |
LL |     #[link_ordinal(3)]
   |     ^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors