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
271 B
Rust
Raw Normal View History

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