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
367 B14 linesraw
1error: expected identifier, found keyword `async`
2  --> $DIR/no-const-async.rs:5:11
3   |
4LL | pub const async fn x() {}
5   |           ^^^^^ expected identifier, found keyword
6
7error: expected `:`, found keyword `fn`
8  --> $DIR/no-const-async.rs:5:17
9   |
10LL | pub const async fn x() {}
11   |                 ^^ expected `:`
12
13error: aborting due to 2 previous errors
14