rust/tests/ui/async-await/async-fn/impl-header.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
117 B
Rust
Raw Normal View History

2024-01-26 17:00:34 +00:00
// edition:2018
struct F;
impl async Fn<()> for F {}
//~^ ERROR expected type, found keyword `async`
fn main() {}