diff options
| author | León Orell Valerian Liehr <liehr.exchange@gmx.net> | 2022-10-04 14:08:25 +0200 |
|---|---|---|
| committer | León Orell Valerian Liehr <liehr.exchange@gmx.net> | 2022-10-05 23:14:15 +0200 |
| commit | 73c239e5eb0b3197ee6d0faeaf85a8eaccb8a491 (patch) | |
| tree | b00473157aaff5ba71ff469c49fbeee73b88ef92 /src/test/rustdoc/inline_cross/impl_trait.rs | |
| parent | f1112099eba41abadb6f921df7edba70affe92c5 (diff) | |
| download | rust-73c239e5eb0b3197ee6d0faeaf85a8eaccb8a491.tar.gz rust-73c239e5eb0b3197ee6d0faeaf85a8eaccb8a491.zip | |
rustdoc: render more cross-crate hrtbs properly
Diffstat (limited to 'src/test/rustdoc/inline_cross/impl_trait.rs')
| -rw-r--r-- | src/test/rustdoc/inline_cross/impl_trait.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/rustdoc/inline_cross/impl_trait.rs b/src/test/rustdoc/inline_cross/impl_trait.rs index ef615472b0e..6c1cf8252a9 100644 --- a/src/test/rustdoc/inline_cross/impl_trait.rs +++ b/src/test/rustdoc/inline_cross/impl_trait.rs @@ -26,6 +26,13 @@ pub use impl_trait_aux::func3; // @has - '//pre[@class="rust fn"]' "T: Iterator<Item = impl Clone>," pub use impl_trait_aux::func4; +// @has impl_trait/fn.func5.html +// @has - '//pre[@class="rust fn"]' "func5(" +// @has - '//pre[@class="rust fn"]' "_f: impl for<'any> Fn(&'any str, &'any str) -> bool + for<'r> Other<T<'r> = ()>," +// @has - '//pre[@class="rust fn"]' "_a: impl for<'alpha, 'beta> Auxiliary<'alpha, Item<'beta> = fn(&'beta ())>" +// @!has - '//pre[@class="rust fn"]' 'where' +pub use impl_trait_aux::func5; + // @has impl_trait/fn.async_fn.html // @has - '//pre[@class="rust fn"]' "pub async fn async_fn()" pub use impl_trait_aux::async_fn; |
