fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
487 B17 linesraw
1error: expected one of `extern`, `fn`, or `unsafe`, found keyword `const`
2  --> $DIR/const-async-const.rs:5:13
3   |
4LL | const async const fn test() {}
5   |             ^^^^^
6   |             |
7   |             expected one of `extern`, `fn`, or `unsafe`
8   |             help: `const` already used earlier, remove this one
9   |
10note: `const` first seen here
11  --> $DIR/const-async-const.rs:5:1
12   |
13LL | const async const fn test() {}
14   | ^^^^^
15
16error: aborting due to previous error
17