]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2627-raw-dylib/link-ordinal-too-large.stderr
Auto merge of #98051 - davidtwco:split-dwarf-stabilization, r=wesleywiser
[rust.git] / src / test / ui / rfc-2627-raw-dylib / link-ordinal-too-large.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-too-large.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: ordinal value in `link_ordinal` is too large: `72436`
11   --> $DIR/link-ordinal-too-large.rs:6:5
12    |
13 LL |     #[link_ordinal(72436)]
14    |     ^^^^^^^^^^^^^^^^^^^^^^
15    |
16    = note: the value may not exceed `u16::MAX`
17
18 error: ordinal value in `link_ordinal` is too large: `72436`
19   --> $DIR/link-ordinal-too-large.rs:9:5
20    |
21 LL |     #[link_ordinal(72436)]
22    |     ^^^^^^^^^^^^^^^^^^^^^^
23    |
24    = note: the value may not exceed `u16::MAX`
25
26 error: aborting due to 2 previous errors; 1 warning emitted
27