blob: 42723132782caafed570a131aedb93ebee40048d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// compile-flags:--test
// edition:2018
// prior to setting the default edition for the doctest pre-parser, this doctest would fail due to
// a fatal parsing error
// see https://github.com/rust-lang/rust/issues/59313
//! ```
//! #![feature(async_await)]
//!
//! fn foo() {
//! drop(async move {});
//! }
//! ```
|