diff options
Diffstat (limited to 'src/test/rustdoc/async-trait-sig.rs')
-rw-r--r-- | src/test/rustdoc/async-trait-sig.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/rustdoc/async-trait-sig.rs b/src/test/rustdoc/async-trait-sig.rs deleted file mode 100644 index 2578bc8f7..000000000 --- a/src/test/rustdoc/async-trait-sig.rs +++ /dev/null @@ -1,14 +0,0 @@ -// edition:2021 - -#![feature(async_fn_in_trait)] -#![allow(incomplete_features)] - -pub trait Foo { - // @has async_trait_sig/trait.Foo.html '//h4[@class="code-header"]' "async fn bar() -> i32" - async fn bar() -> i32; - - // @has async_trait_sig/trait.Foo.html '//h4[@class="code-header"]' "async fn baz() -> i32" - async fn baz() -> i32 { - 1 - } -} |