rust/tests/ui/specialization/issue-63716-parse-async.rs

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

15 lines
273 B
Rust
Raw Normal View History

2019-08-20 16:10:43 +00:00
// Ensure that `default async fn` will parse.
// See issue #63716 for details.
//@ check-pass
//@ edition:2018
2020-05-17 08:22:48 +00:00
#![feature(specialization)] //~ WARN the feature `specialization` is incomplete
2019-08-20 16:10:43 +00:00
fn main() {}
#[cfg(FALSE)]
impl Foo for Bar {
default async fn baz() {}
}