summaryrefslogtreecommitdiffstats
path: root/tests/ui/feature-gates/feature-gate-raw-dylib-2.stderr
blob: 0e900760d245e44b628d93ce54cdf9c859089ec0 (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_ordinal]` is unstable on x86
  --> $DIR/feature-gate-raw-dylib-2.rs:4:5
   |
LL |     #[link_ordinal(42)]
   |     ^^^^^^^^^^^^^^^^^^^
   |
   = 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]: `#[link_ordinal]` is unstable on x86
  --> $DIR/feature-gate-raw-dylib-2.rs:7:5
   |
LL |     #[link_ordinal(5)]
   |     ^^^^^^^^^^^^^^^^^^
   |
   = 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`.