// https://github.com/rust-lang/rust/issues/46380 #![crate_name="foo"] pub trait PublicTrait {} // @has foo/struct.PublicStruct.html pub struct PublicStruct; // @!has - '//*[@class="impl"]' 'impl PublicTrait for PublicStruct' impl PublicTrait for PublicStruct {} struct PrivateStruct;