1 warning: the feature `raw_dylib` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/import-name-type-unsupported-link-kind.rs:3:12
4 LL | #![feature(raw_dylib)]
7 = note: `#[warn(incomplete_features)]` on by default
8 = note: see issue #58713 <https://github.com/rust-lang/rust/issues/58713> for more information
10 error: import name type can only be used with link kind `raw-dylib`
11 --> $DIR/import-name-type-unsupported-link-kind.rs:6:22
13 LL | #[link(name = "foo", import_name_type = "decorated")]
14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16 error: import name type can only be used with link kind `raw-dylib`
17 --> $DIR/import-name-type-unsupported-link-kind.rs:10:39
19 LL | #[link(name = "bar", kind = "static", import_name_type = "decorated")]
20 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
22 error: aborting due to 2 previous errors; 1 warning emitted