about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Wood <david.wood2@arm.com>2025-04-10 13:49:44 +0000
committerDavid Wood <david.wood2@arm.com>2025-06-16 23:04:36 +0000
commit388a99ea2601518a0253e1f4fcbce85e5965017c (patch)
treef90d31b9e1dc6f444d438e3cb69b38f318db3b70
parentda47753496c3a51e4cedbecde5b4f3ee39333945 (diff)
downloadrust-388a99ea2601518a0253e1f4fcbce85e5965017c.tar.gz
rust-388a99ea2601518a0253e1f4fcbce85e5965017c.zip
rustdoc: `PointeeSized` bounds with extern types
As before, updating types using extern types to use `PointeeSized`
bounds.
-rw-r--r--tests/rustdoc/foreigntype.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rustdoc/foreigntype.rs b/tests/rustdoc/foreigntype.rs
index bee3d8e6509..66371e8c827 100644
--- a/tests/rustdoc/foreigntype.rs
+++ b/tests/rustdoc/foreigntype.rs
@@ -10,7 +10,7 @@ impl ExtType {
     pub fn do_something(&self) {}
 }
 
-pub trait Trait {}
+pub trait Trait: std::marker::PointeeSized {}
 
 //@ has foreigntype/trait.Trait.html '//a[@class="foreigntype"]' 'ExtType'
 impl Trait for ExtType {}