]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-static-nobundle.stderr
Auto merge of #97057 - bjorn3:sync_cg_clif-2022-05-15, r=bjorn3
[rust.git] / src / test / ui / feature-gates / feature-gate-static-nobundle.stderr
1 warning: link kind `static-nobundle` has been superseded by specifying modifier `-bundle` with link kind `static`
2   --> $DIR/feature-gate-static-nobundle.rs:1:29
3    |
4 LL | #[link(name = "foo", kind = "static-nobundle")]
5    |                             ^^^^^^^^^^^^^^^^^
6
7 error[E0658]: link kind `static-nobundle` is unstable
8   --> $DIR/feature-gate-static-nobundle.rs:1:29
9    |
10 LL | #[link(name = "foo", kind = "static-nobundle")]
11    |                             ^^^^^^^^^^^^^^^^^
12    |
13    = note: see issue #37403 <https://github.com/rust-lang/rust/issues/37403> for more information
14    = help: add `#![feature(static_nobundle)]` to the crate attributes to enable
15
16 error: aborting due to previous error; 1 warning emitted
17
18 For more information about this error, try `rustc --explain E0658`.