summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfcs/rfc-2627-raw-dylib/link-ordinal-too-many-arguments.stderr
blob: d5ce8aff34f20df7725eda1576f9f03375b72a91 (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-too-many-arguments.rs:3:5
   |
LL |     #[link_ordinal(3, 4)]
   |     ^^^^^^^^^^^^^^^^^^^^^
   |
   = note: the attribute requires exactly one argument

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

error: aborting due to 2 previous errors