fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
309 B14 linesraw
1error: extern items cannot be `const`
2  --> $DIR/no-const-fn-in-extern-block.rs:2:5
3   |
4LL |     const fn foo();
5   |     ^^^^^
6
7error: extern items cannot be `const`
8  --> $DIR/no-const-fn-in-extern-block.rs:4:5
9   |
10LL |     const unsafe fn bar();
11   |     ^^^^^
12
13error: aborting due to 2 previous errors
14