]> git.lizzy.rs Git - rust.git/blob - src/test/rustdoc/edition-flag.rs
Rollup merge of #61146 - czipperz:SliceConcatExt-connect-default-to-join, r=sfackler
[rust.git] / src / test / rustdoc / edition-flag.rs
1 // compile-flags:--test -Z unstable-options
2 // edition:2018
3
4 #![feature(async_await)]
5
6 /// ```rust
7 /// #![feature(async_await)]
8 /// fn main() {
9 ///     let _ = async { };
10 /// }
11 /// ```
12 fn main() {
13     let _ = async { };
14 }