2024-01-03 15:56:10 -06:00
|
|
|
// https://github.com/rust-lang/rust/issues/46380
|
|
|
|
#![crate_name="foo"]
|
|
|
|
|
2017-11-30 14:18:36 -06:00
|
|
|
pub trait PublicTrait<T> {}
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ has foo/struct.PublicStruct.html
|
2017-11-30 14:18:36 -06:00
|
|
|
pub struct PublicStruct;
|
|
|
|
|
2024-06-21 07:03:08 -05:00
|
|
|
//@ !has - '//*[@class="impl"]' 'impl PublicTrait<PrivateStruct> for PublicStruct'
|
2017-11-30 14:18:36 -06:00
|
|
|
impl PublicTrait<PrivateStruct> for PublicStruct {}
|
|
|
|
|
|
|
|
struct PrivateStruct;
|