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