summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/edition-flag.rs
blob: e54c7d2969bfe72729a5fb8c8e0c3ab23569ad29 (plain)
1
2
3
4
5
6
7
8
9
10
11
// compile-flags:--test
// edition:2018

/// ```rust
/// fn main() {
///     let _ = async { };
/// }
/// ```
fn main() {
    let _ = async { };
}