mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
15 lines
273 B
Rust
15 lines
273 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() {}
|
|
}
|