]> git.lizzy.rs Git - rust.git/blob - tests/ui/async-await/no-async-const.rs
Merge commit '7f27e2e74ef957baa382dc05cf08df6368165c74' into clippyup
[rust.git] / tests / ui / async-await / no-async-const.rs
1 // edition:2018
2 // compile-flags: --crate-type lib
3
4 pub async const fn x() {}
5 //~^ ERROR expected one of `extern`, `fn`, or `unsafe`, found keyword `const`