summaryrefslogtreecommitdiffstats
path: root/tests/ui/privacy/auxiliary/issue-57264-2.rs
blob: 416206b4f8e7b3163749191943a3d90e7e9e49b6 (plain)
1
2
3
4
5
6
7
8
9
10
mod inner {
    pub struct PubUnnameable;

    impl PubUnnameable {
        pub fn pub_method(self) {}
    }
}

pub trait PubTraitWithSingleImplementor {}
impl PubTraitWithSingleImplementor for Option<inner::PubUnnameable> {}