about summary refs log tree commit diff
path: root/tests/rustdoc/async-trait-sig.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-05-05 17:35:41 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2025-05-05 17:49:12 +0200
commit27e39c3ac6173e4a9e9e1439bfc48f0ca1505542 (patch)
tree7e1940cc45292e062475d985587f6f9b9b811a15 /tests/rustdoc/async-trait-sig.rs
parente14e19a67dcdd7437b29bd37b4aa1fde3e5fecee (diff)
downloadrust-27e39c3ac6173e4a9e9e1439bfc48f0ca1505542.tar.gz
rust-27e39c3ac6173e4a9e9e1439bfc48f0ca1505542.zip
Created `tests/rustdoc/async` subfolder to limit number of files at the top level
Diffstat (limited to 'tests/rustdoc/async-trait-sig.rs')
-rw-r--r--tests/rustdoc/async-trait-sig.rs13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/rustdoc/async-trait-sig.rs b/tests/rustdoc/async-trait-sig.rs
deleted file mode 100644
index be790f6ed7f..00000000000
--- a/tests/rustdoc/async-trait-sig.rs
+++ /dev/null
@@ -1,13 +0,0 @@
-//@ edition:2021
-
-#![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
-    }
-}