about summary refs log tree commit diff
path: root/tests/rustdoc/synthetic_auto/complex.rs
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2024-03-31 20:37:35 +0200
committerLeón Orell Valerian Liehr <me@fmease.dev>2024-04-02 01:49:57 +0200
commit069e7f2a768874536e8688e3df120cd74cd03b0b (patch)
tree71aba0b7348010cb5f4e76d0509b242717f044ad /tests/rustdoc/synthetic_auto/complex.rs
parentcbd593ed18fa455093cd198893a118c1262ff1ca (diff)
downloadrust-069e7f2a768874536e8688e3df120cd74cd03b0b.tar.gz
rust-069e7f2a768874536e8688e3df120cd74cd03b0b.zip
rustdoc: heavily simplify synthesis of auto trait impls
Diffstat (limited to 'tests/rustdoc/synthetic_auto/complex.rs')
-rw-r--r--tests/rustdoc/synthetic_auto/complex.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rustdoc/synthetic_auto/complex.rs b/tests/rustdoc/synthetic_auto/complex.rs
index 21055287c99..2722f6d338f 100644
--- a/tests/rustdoc/synthetic_auto/complex.rs
+++ b/tests/rustdoc/synthetic_auto/complex.rs
@@ -21,8 +21,8 @@ mod foo {
 
 // @has complex/struct.NotOuter.html
 // @has - '//*[@id="synthetic-implementations-list"]//*[@class="impl"]//h3[@class="code-header"]' \
-// "impl<'a, T, K: ?Sized> Send for Outer<'a, T, K>where 'a: 'static, T: MyTrait<'a>, \
-// K: for<'b> Fn((&'b bool, &'a u8)) -> &'b i8, <T as MyTrait<'a>>::MyItem: Copy,"
+// "impl<'a, T, K> Send for Outer<'a, T, K>where 'a: 'static, T: MyTrait<'a>, \
+// K: for<'b> Fn((&'b bool, &'a u8)) -> &'b i8 + ?Sized, <T as MyTrait<'a>>::MyItem: Copy,"
 
 pub use foo::{Foo, Inner as NotInner, MyTrait as NotMyTrait, Outer as NotOuter};