]> git.lizzy.rs Git - rust.git/blob - tests/ui/rfc-2627-raw-dylib/link-ordinal-too-many-arguments.stderr
Rollup merge of #103236 - tspiteri:redoc-int-adc-sbb, r=m-ou-se
[rust.git] / tests / ui / rfc-2627-raw-dylib / link-ordinal-too-many-arguments.stderr
1 error: incorrect number of arguments to `#[link_ordinal]`
2   --> $DIR/link-ordinal-too-many-arguments.rs:5:5
3    |
4 LL |     #[link_ordinal(3, 4)]
5    |     ^^^^^^^^^^^^^^^^^^^^^
6    |
7    = note: the attribute requires exactly one argument
8
9 error: incorrect number of arguments to `#[link_ordinal]`
10   --> $DIR/link-ordinal-too-many-arguments.rs:8:5
11    |
12 LL |     #[link_ordinal(3, 4)]
13    |     ^^^^^^^^^^^^^^^^^^^^^
14    |
15    = note: the attribute requires exactly one argument
16
17 error: aborting due to 2 previous errors
18