]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2627-raw-dylib/link-ordinal-and-name.stderr
Merge commit '4c41a222ca5d1325fb4b6709395bd06e766cc042' into clippyup
[rust.git] / src / test / ui / rfc-2627-raw-dylib / link-ordinal-and-name.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-and-name.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: cannot use `#[link_name]` with `#[link_ordinal]`
11   --> $DIR/link-ordinal-and-name.rs:7:5
12    |
13 LL |     #[link_ordinal(42)]
14    |     ^^^^^^^^^^^^^^^^^^^
15
16 error: aborting due to previous error; 1 warning emitted
17