]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2627-raw-dylib/link-ordinal-not-foreign-fn.stderr
Auto merge of #98051 - davidtwco:split-dwarf-stabilization, r=wesleywiser
[rust.git] / src / test / ui / rfc-2627-raw-dylib / link-ordinal-not-foreign-fn.stderr
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
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: attribute should be applied to a foreign function or static
11   --> $DIR/link-ordinal-not-foreign-fn.rs:4:1
12    |
13 LL | #[link_ordinal(123)]
14    | ^^^^^^^^^^^^^^^^^^^^
15
16 error: attribute should be applied to a foreign function or static
17   --> $DIR/link-ordinal-not-foreign-fn.rs:8:1
18    |
19 LL | #[link_ordinal(123)]
20    | ^^^^^^^^^^^^^^^^^^^^
21
22 error: attribute should be applied to a foreign function or static
23   --> $DIR/link-ordinal-not-foreign-fn.rs:12:1
24    |
25 LL | #[link_ordinal(42)]
26    | ^^^^^^^^^^^^^^^^^^^
27
28 error: aborting due to 3 previous errors; 1 warning emitted
29