rust/tests/rustdoc/edition-flag.rs

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

12 lines
149 B
Rust
Raw Normal View History

//@ compile-flags:--test
//@ edition:2018
/// ```rust
/// fn main() {
/// let _ = async { };
/// }
/// ```
fn main() {
let _ = async { };
}