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-06-09 15:30:08 +0200
committerLeón Orell Valerian Liehr <me@fmease.dev>2023-10-30 16:44:52 +0100
commit58a80c85b9323e59e1b7e744d6782997a3dcb5ce (patch)
treecd8eef91c8cda7475b0fb55085b15c905794b17d /tests/rustdoc/inline_cross/impl_trait.rs
parent7cc36de72d9a5fd6881946c673ff47586214ad1e (diff)
downloadrust-58a80c85b9323e59e1b7e744d6782997a3dcb5ce.tar.gz
rust-58a80c85b9323e59e1b7e744d6782997a3dcb5ce.zip
rustdoc: elide cross-crate default generic arguments
Diffstat (limited to 'tests/rustdoc/inline_cross/impl_trait.rs')
-rw-r--r--tests/rustdoc/inline_cross/impl_trait.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc/inline_cross/impl_trait.rs b/tests/rustdoc/inline_cross/impl_trait.rs
index 9b22026e490..3a2f5d16004 100644
--- a/tests/rustdoc/inline_cross/impl_trait.rs
+++ b/tests/rustdoc/inline_cross/impl_trait.rs
@@ -4,7 +4,7 @@
 extern crate impl_trait_aux;
 
 // @has impl_trait/fn.func.html
-// @has - '//pre[@class="rust item-decl"]' "pub fn func<'a>(_x: impl Clone + Into<Vec<u8, Global>> + 'a)"
+// @has - '//pre[@class="rust item-decl"]' "pub fn func<'a>(_x: impl Clone + Into<Vec<u8>> + 'a)"
 // @!has - '//pre[@class="rust item-decl"]' 'where'
 pub use impl_trait_aux::func;
 
@@ -34,6 +34,6 @@ pub use impl_trait_aux::func4;
 pub use impl_trait_aux::func5;
 
 // @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"]' "pub fn method<'a>(_x: impl Clone + Into<Vec<u8>> + 'a)"
 // @!has - '//*[@id="method.method"]//h4[@class="code-header"]' 'where'
 pub use impl_trait_aux::Foo;