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-invalid-format.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 must be of the form `import_name_type = "string"`
11 --> $DIR/import-name-type-invalid-format.rs:6:42
13 LL | #[link(name = "foo", kind = "raw-dylib", import_name_type = 6)]
14 | ^^^^^^^^^^^^^^^^^^^^
16 error: aborting due to previous error; 1 warning emitted