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