1 error: import name type can only be used with link kind `raw-dylib`
2 --> $DIR/import-name-type-unsupported-link-kind.rs:5:22
4 LL | #[link(name = "foo", import_name_type = "decorated")]
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 error: import name type can only be used with link kind `raw-dylib`
8 --> $DIR/import-name-type-unsupported-link-kind.rs:9:39
10 LL | #[link(name = "bar", kind = "static", import_name_type = "decorated")]
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13 error: aborting due to 2 previous errors