fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
444 B16 linesraw
1warning: the feature `raw_dylib` is incomplete and may cause the compiler to crash
2  --> $DIR/link-ordinal-and-name.rs:1:12
3   |
4LL | #![feature(raw_dylib)]
5   |            ^^^^^^^^^
6   |
7   = note: `#[warn(incomplete_features)]` on by default
8
9error: cannot use `#[link_name]` with `#[link_ordinal]`
10  --> $DIR/link-ordinal-and-name.rs:7:5
11   |
12LL |     #[link_ordinal(42)]
13   |     ^^^^^^^^^^^^^^^^^^^
14
15error: aborting due to previous error
16