rust/tests/rustdoc/issue-46380-2.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
260 B
Rust
Raw Normal View History

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;