]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2627-raw-dylib/import-name-type-multiple.stderr
Rollup merge of #95376 - WaffleLapkin:drain_keep_rest, r=dtolnay
[rust.git] / src / test / ui / rfc-2627-raw-dylib / import-name-type-multiple.stderr
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-multiple.rs:4:12
3    |
4 LL | #![feature(raw_dylib)]
5    |            ^^^^^^^^^
6    |
7    = note: `#[warn(incomplete_features)]` on by default
8    = note: see issue #58713 <https://github.com/rust-lang/rust/issues/58713> for more information
9
10 error: multiple `import_name_type` arguments in a single `#[link]` attribute
11   --> $DIR/import-name-type-multiple.rs:7:74
12    |
13 LL | #[link(name = "foo", kind = "raw-dylib", import_name_type = "decorated", import_name_type = "decorated")]
14    |                                                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
15
16 error: aborting due to previous error; 1 warning emitted
17