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