mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-31 06:22:00 +00:00
10 lines
260 B
Rust
10 lines
260 B
Rust
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;
|