rust/tests/ui/specialization/issue-63716-parse-async.rs
2023-01-11 09:32:08 +00:00

15 lines
271 B
Rust

// Ensure that `default async fn` will parse.
// See issue #63716 for details.
// check-pass
// edition:2018
#![feature(specialization)] //~ WARN the feature `specialization` is incomplete
fn main() {}
#[cfg(FALSE)]
impl Foo for Bar {
default async fn baz() {}
}