rust/tests/rustdoc/edition-flag.rs

12 lines
149 B
Rust
Raw Normal View History

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