]> git.lizzy.rs Git - rust.git/blob - src/test/ui/async-await/no-const-async.rs
Auto merge of #83152 - guswynn:jemallocator_part2, r=Mark-Simulacrum
[rust.git] / src / test / ui / async-await / no-const-async.rs
1 // edition:2018
2 // compile-flags: --crate-type lib
3
4 pub const async fn x() {}
5 //~^ ERROR functions cannot be both `const` and `async`