fork/rust

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

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

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