Rename tests/rustdoc into tests/rustdoc-html
This commit is contained in:
parent
d9617c8d9a
commit
a928f3352d
1076 changed files with 69 additions and 60 deletions
12
tests/rustdoc-html/async/async-move-doctest.rs
Normal file
12
tests/rustdoc-html/async/async-move-doctest.rs
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
//@ 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 {});
|
||||
//! }
|
||||
//! ```
|
||||
Loading…
Add table
Add a link
Reference in a new issue