Skip to content

Commit 5c35a06

Browse files
committed
rustdoc: PointeeSized bounds with extern types
As before, updating types using extern types to use `PointeeSized` bounds.
1 parent eda2a94 commit 5c35a06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/rustdoc/foreigntype.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ impl ExtType {
1010
pub fn do_something(&self) {}
1111
}
1212

13-
pub trait Trait {}
13+
pub trait Trait: std::marker::PointeeSized {}
1414

1515
//@ has foreigntype/trait.Trait.html '//a[@class="foreigntype"]' 'ExtType'
1616
impl Trait for ExtType {}

0 commit comments

Comments
 (0)