about summary refs log tree commit diff
path: root/tests/rustdoc/inline_cross/impl_trait.rs
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2023-09-23 03:25:52 +0200
committerLeón Orell Valerian Liehr <me@fmease.dev>2023-09-25 15:57:04 +0200
commit025a2cda0ec511b6bc66f02dcddc408bf386e7ec (patch)
treedca59eec8719d8adb91df85fe225a78902a1beb7 /tests/rustdoc/inline_cross/impl_trait.rs
parente4a361a48a59ead52b302aaa2e1d9d345264935a (diff)
downloadrust-025a2cda0ec511b6bc66f02dcddc408bf386e7ec.tar.gz
rust-025a2cda0ec511b6bc66f02dcddc408bf386e7ec.zip
rustdoc: correctly render ret ty of cross-crate async fns
Diffstat (limited to 'tests/rustdoc/inline_cross/impl_trait.rs')
-rw-r--r--tests/rustdoc/inline_cross/impl_trait.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/tests/rustdoc/inline_cross/impl_trait.rs b/tests/rustdoc/inline_cross/impl_trait.rs
index b6a1552bc00..5c802c51486 100644
--- a/tests/rustdoc/inline_cross/impl_trait.rs
+++ b/tests/rustdoc/inline_cross/impl_trait.rs
@@ -33,15 +33,7 @@ pub use impl_trait_aux::func4;
 // @!has - '//pre[@class="rust item-decl"]' 'where'
 pub use impl_trait_aux::func5;
 
-// @has impl_trait/fn.async_fn.html
-// @has - '//pre[@class="rust item-decl"]' "pub async fn async_fn()"
-pub use impl_trait_aux::async_fn;
-
 // @has impl_trait/struct.Foo.html
 // @has - '//*[@id="method.method"]//h4[@class="code-header"]' "pub fn method<'a>(_x: impl Clone + Into<Vec<u8, Global>> + 'a)"
 // @!has - '//*[@id="method.method"]//h4[@class="code-header"]' 'where'
 pub use impl_trait_aux::Foo;
-
-// @has impl_trait/struct.Bar.html
-// @has - '//*[@id="method.async_foo"]' "pub async fn async_foo("
-pub use impl_trait_aux::Bar;