fork/rust

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

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

master
281 B11 linesraw
1error: functions cannot be both `const` and `async`
2  --> $DIR/no-const-async.rs:4:5
3   |
4LL | pub const async fn x() {}
5   | ----^^^^^-^^^^^----------
6   |     |     |
7   |     |     `async` because of this
8   |     `const` because of this
9
10error: aborting due to previous error
11