fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
561 B18 linesraw
1warning: the feature `raw_dylib` is incomplete and may cause the compiler to crash
2  --> $DIR/link-ordinal-too-large.rs:1:12
3   |
4LL | #![feature(raw_dylib)]
5   |            ^^^^^^^^^
6   |
7   = note: `#[warn(incomplete_features)]` on by default
8
9error: ordinal value in `link_ordinal` is too large: `18446744073709551616`
10  --> $DIR/link-ordinal-too-large.rs:6:5
11   |
12LL |     #[link_ordinal(18446744073709551616)]
13   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
14   |
15   = note: the value may not exceed `std::usize::MAX`
16
17error: aborting due to previous error
18