]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2627-raw-dylib/import-name-type-multiple.rs
Rollup merge of #95376 - WaffleLapkin:drain_keep_rest, r=dtolnay
[rust.git] / src / test / ui / rfc-2627-raw-dylib / import-name-type-multiple.rs
1 // ignore-tidy-linelength
2 // only-windows
3 // only-x86
4 #![feature(raw_dylib)]
5 //~^ WARN the feature `raw_dylib` is incomplete
6
7 #[link(name = "foo", kind = "raw-dylib", import_name_type = "decorated", import_name_type = "decorated")]
8 //~^ ERROR multiple `import_name_type` arguments in a single `#[link]` attribute
9 extern "C" { }
10
11 fn main() {}