summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfc-2627-raw-dylib/link-ordinal-missing-argument.stderr
blob: 853cdad8c1c541c3397e96e78bb6847d4c0c241b (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:5: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:8:5
   |
LL |     #[link_ordinal()]
   |     ^^^^^^^^^^^^^^^^^
   |
   = note: the attribute requires exactly one argument

error: aborting due to 2 previous errors