summaryrefslogtreecommitdiffstats
path: root/src/test/ui/feature-gates/feature-gate-raw-dylib-import-name-type.stderr
blob: d6b165b7610a55c453a29ad6d00f2cf79b378d3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
error[E0658]: link kind `raw-dylib` is unstable on x86
  --> $DIR/feature-gate-raw-dylib-import-name-type.rs:3:29
   |
LL | #[link(name = "foo", kind = "raw-dylib", import_name_type = "decorated")]
   |                             ^^^^^^^^^^^
   |
   = note: see issue #58713 <https://github.com/rust-lang/rust/issues/58713> for more information
   = help: add `#![feature(raw_dylib)]` to the crate attributes to enable

error[E0658]: import name type is unstable
  --> $DIR/feature-gate-raw-dylib-import-name-type.rs:3:61
   |
LL | #[link(name = "foo", kind = "raw-dylib", import_name_type = "decorated")]
   |                                                             ^^^^^^^^^^^
   |
   = note: see issue #58713 <https://github.com/rust-lang/rust/issues/58713> for more information
   = help: add `#![feature(raw_dylib)]` to the crate attributes to enable

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0658`.