]> git.proxmox.com Git - rustc.git/blob - src/test/ui/native-library-link-flags/modifiers-override.stderr
New upstream version 1.61.0+dfsg1
[rustc.git] / src / test / ui / native-library-link-flags / modifiers-override.stderr
1 error: same modifier is used multiple times in a single `modifiers` argument
2 --> $DIR/modifiers-override.rs:9:5
3 |
4 LL | modifiers = "+whole-archive,-whole-archive",
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6
7 error: multiple `modifiers` arguments in a single `#[link]` attribute
8 --> $DIR/modifiers-override.rs:6:1
9 |
10 LL | / #[link(
11 LL | | name = "bar",
12 LL | | kind = "static",
13 LL | | modifiers = "+whole-archive,-whole-archive",
14 LL | |
15 LL | | modifiers = "+bundle"
16 LL | | )]
17 | |__^
18
19 error: overriding linking modifiers from command line is not supported
20 --> $DIR/modifiers-override.rs:13:1
21 |
22 LL | extern "C" {}
23 | ^^^^^^^^^^^^^
24
25 error: overriding linking modifiers from command line is not supported
26 --> $DIR/modifiers-override.rs:13:1
27 |
28 LL | extern "C" {}
29 | ^^^^^^^^^^^^^
30
31 error: aborting due to 4 previous errors
32