]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2627-raw-dylib/link-ordinal-missing-argument.stderr
Rollup merge of #99216 - duarten:master, r=joshtriplett
[rust.git] / src / test / ui / rfc-2627-raw-dylib / link-ordinal-missing-argument.stderr
1 error: incorrect number of arguments to `#[link_ordinal]`
2   --> $DIR/link-ordinal-missing-argument.rs:5:5
3    |
4 LL |     #[link_ordinal()]
5    |     ^^^^^^^^^^^^^^^^^
6    |
7    = note: the attribute requires exactly one argument
8
9 error: incorrect number of arguments to `#[link_ordinal]`
10   --> $DIR/link-ordinal-missing-argument.rs:8:5
11    |
12 LL |     #[link_ordinal()]
13    |     ^^^^^^^^^^^^^^^^^
14    |
15    = note: the attribute requires exactly one argument
16
17 error: aborting due to 2 previous errors
18