about summary refs log tree commit diff
path: root/src/test/rustdoc
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-08-02 03:45:58 +0200
committerMazdak Farrokhzad <twingoow@gmail.com>2019-08-20 03:08:42 +0200
commit228015acd29ceaaed815a0430da462648e44ea42 (patch)
tree080350ca6e31808cf3b618cf5bbce6988e20e7f1 /src/test/rustdoc
parent6a14411b7633ecaf70dc9ae0112678487a9b0d64 (diff)
Remove async_await gates from tests.
Diffstat (limited to 'src/test/rustdoc')
-rw-r--r--src/test/rustdoc/async-fn.rs2
-rw-r--r--src/test/rustdoc/async-move-doctest.rs6
-rw-r--r--src/test/rustdoc/edition-flag.rs3
3 files changed, 2 insertions, 9 deletions
diff --git a/src/test/rustdoc/async-fn.rs b/src/test/rustdoc/async-fn.rs
index 7384f7027d1..5f9708a3972 100644
--- a/src/test/rustdoc/async-fn.rs
+++ b/src/test/rustdoc/async-fn.rs
@@ -1,7 +1,5 @@
 // edition:2018
 
-#![feature(async_await)]
-
 // @has async_fn/fn.foo.html '//pre[@class="rust fn"]' 'pub async fn foo() -> Option<Foo>'
 pub async fn foo() -> Option<Foo> {
     None
diff --git a/src/test/rustdoc/async-move-doctest.rs b/src/test/rustdoc/async-move-doctest.rs
index 42723132782..2ba61388c9e 100644
--- a/src/test/rustdoc/async-move-doctest.rs
+++ b/src/test/rustdoc/async-move-doctest.rs
@@ -1,13 +1,11 @@
 // 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
+// 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 {});
 //! }
diff --git a/src/test/rustdoc/edition-flag.rs b/src/test/rustdoc/edition-flag.rs
index 5571245f28d..ddbc2be651d 100644
--- a/src/test/rustdoc/edition-flag.rs
+++ b/src/test/rustdoc/edition-flag.rs
@@ -1,10 +1,7 @@
 // compile-flags:--test -Z unstable-options
 // edition:2018
 
-#![feature(async_await)]
-
 /// ```rust
-/// #![feature(async_await)]
 /// fn main() {
 ///     let _ = async { };
 /// }