summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/issue-46380-2.rs
blob: 7004d18dc66c989fd921480d3fd8e604bfca2748 (plain)
1
2
3
4
5
6
7
8
9
pub trait PublicTrait<T> {}

// @has issue_46380_2/struct.PublicStruct.html
pub struct PublicStruct;

// @!has - '//*[@class="impl"]' 'impl PublicTrait<PrivateStruct> for PublicStruct'
impl PublicTrait<PrivateStruct> for PublicStruct {}

struct PrivateStruct;