fork/rust

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

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.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