We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
async move
1 parent e66e1c7 commit a6d26ebCopy full SHA for a6d26eb
src/test/rustdoc/async-move-doctest.rs
@@ -0,0 +1,14 @@
1
+// compile-flags:--test
2
+// edition:2018
3
+
4
+// prior to setting the default edition for the doctest pre-parser, this doctest would fail due to
5
+// a fatal parsing error
6
+// see https://github.com/rust-lang/rust/issues/59313
7
8
+//! ```
9
+//! #![feature(async_await)]
10
+//!
11
+//! fn foo() {
12
+//! drop(async move {});
13
+//! }
14
0 commit comments