1 warning: the feature `raw_dylib` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/link-ordinal-not-foreign-fn.rs:1:12
4 LL | #![feature(raw_dylib)]
7 = note: `#[warn(incomplete_features)]` on by default
8 = note: see issue #58713 <https://github.com/rust-lang/rust/issues/58713> for more information
10 error: attribute should be applied to a foreign function or static
11 --> $DIR/link-ordinal-not-foreign-fn.rs:4:1
13 LL | #[link_ordinal(123)]
14 | ^^^^^^^^^^^^^^^^^^^^
16 error: attribute should be applied to a foreign function or static
17 --> $DIR/link-ordinal-not-foreign-fn.rs:8:1
19 LL | #[link_ordinal(123)]
20 | ^^^^^^^^^^^^^^^^^^^^
22 error: attribute should be applied to a foreign function or static
23 --> $DIR/link-ordinal-not-foreign-fn.rs:12:1
25 LL | #[link_ordinal(42)]
28 error: aborting due to 3 previous errors; 1 warning emitted