]>
Commit | Line | Data |
---|---|---|
48663c56 XL |
1 | // compile-flags:--test |
2 | // edition:2018 | |
3 | ||
e1599b0c XL |
4 | // Prior to setting the default edition for the doctest pre-parser, |
5 | // this doctest would fail due to a fatal parsing error. | |
48663c56 XL |
6 | // see https://github.com/rust-lang/rust/issues/59313 |
7 | ||
8 | //! ``` | |
48663c56 XL |
9 | //! fn foo() { |
10 | //! drop(async move {}); | |
11 | //! } | |
12 | //! ``` |