fork/rust

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

borsAuto merge of #71365 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4fb7144ed15

1.43.0
719 B24 linesraw
1error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
2  --> $DIR/intrinsics-always-extern.rs:4:32
3   |
4LL |     extern "rust-intrinsic" fn foo(&self);
5   |                                ^^^
6
7error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
8  --> $DIR/intrinsics-always-extern.rs:8:43
9   |
10LL |       extern "rust-intrinsic" fn foo(&self) {
11   |  ___________________________________________^
12LL | |     }
13   | |_____^
14
15error: intrinsic must be in `extern "rust-intrinsic" { ... }` block
16  --> $DIR/intrinsics-always-extern.rs:12:36
17   |
18LL |   extern "rust-intrinsic" fn hello() {
19   |  ____________________________________^
20LL | | }
21   | |_^
22
23error: aborting due to 3 previous errors
24