]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2627-raw-dylib/import-name-type-invalid-format.rs
Rollup merge of #105983 - compiler-errors:issue-105981, r=tmiasko
[rust.git] / src / test / ui / rfc-2627-raw-dylib / import-name-type-invalid-format.rs
1 // only-windows
2 // only-x86
3 #![feature(raw_dylib)]
4
5 #[link(name = "foo", kind = "raw-dylib", import_name_type = 6)]
6 //~^ ERROR import name type must be of the form `import_name_type = "string"`
7 extern "C" { }
8
9 fn main() {}