mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 11:44:28 +00:00
13 lines
289 B
Rust
13 lines
289 B
Rust
//@ 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
|
|
|
|
//! ```
|
|
//! fn foo() {
|
|
//! drop(async move {});
|
|
//! }
|
|
//! ```
|