]> git.proxmox.com Git - rustc.git/blame - tests/ui/async-await/no-const-async.stderr
Merge 1.70 into proxmox/bookworm
[rustc.git] / tests / ui / async-await / no-const-async.stderr
CommitLineData
74b04a01 1error: functions cannot be both `const` and `async`
ba9703b0 2 --> $DIR/no-const-async.rs:4:5
dc9dc135
XL
3 |
4LL | pub const async fn x() {}
ba9703b0 5 | ----^^^^^-^^^^^----------
74b04a01
XL
6 | | |
7 | | `async` because of this
8 | `const` because of this
dc9dc135 9
353b0b11 10error: aborting due to previous error
dc9dc135 11