1 warning: library kind `static-nobundle` has been superseded by specifying modifier `-bundle` with library kind `static`
2 --> $DIR/feature-gate-static-nobundle.rs:1:22
4 LL | #[link(name = "foo", kind = "static-nobundle")]
5 | ^^^^^^^^^^^^^^^^^^^^^^^^
7 error[E0658]: kind="static-nobundle" is unstable
8 --> $DIR/feature-gate-static-nobundle.rs:1:22
10 LL | #[link(name = "foo", kind = "static-nobundle")]
11 | ^^^^^^^^^^^^^^^^^^^^^^^^
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
16 error: aborting due to previous error; 1 warning emitted
18 For more information about this error, try `rustc --explain E0658`.