]> git.lizzy.rs Git - rust.git/blob - tests/rustdoc/edition-flag.rs
Auto merge of #107778 - weihanglo:update-cargo, r=weihanglo
[rust.git] / tests / rustdoc / edition-flag.rs
1 // compile-flags:--test
2 // edition:2018
3
4 /// ```rust
5 /// fn main() {
6 ///     let _ = async { };
7 /// }
8 /// ```
9 fn main() {
10     let _ = async { };
11 }