summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfcs/rfc-2627-raw-dylib/link-ordinal-missing-argument.stderr
blob: 1b04bb228e76a89bfe462a732029e3e6cc74c2ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
error: incorrect number of arguments to `#[link_ordinal]`
  --> $DIR/link-ordinal-missing-argument.rs:3:5
   |
LL |     #[link_ordinal()]
   |     ^^^^^^^^^^^^^^^^^
   |
   = note: the attribute requires exactly one argument

error: incorrect number of arguments to `#[link_ordinal]`
  --> $DIR/link-ordinal-missing-argument.rs:6:5
   |
LL |     #[link_ordinal()]
   |     ^^^^^^^^^^^^^^^^^
   |
   = note: the attribute requires exactly one argument

error: aborting due to 2 previous errors