]> git.proxmox.com Git - rustc.git/blob - src/test/ui/async-await/no-const-async.stderr
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / async-await / no-const-async.stderr
1 error: functions cannot be both `const` and `async`
2 --> $DIR/no-const-async.rs:4:5
3 |
4 LL | pub const async fn x() {}
5 | ----^^^^^-^^^^^----------
6 | | |
7 | | `async` because of this
8 | `const` because of this
9
10 error: aborting due to previous error
11