rustdoc: correctly render ret ty of cross-crate async fns
This commit is contained in:
parent
e4a361a48a
commit
025a2cda0e
6 changed files with 72 additions and 44 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue