rust/tests/ui/privacy/auxiliary/issue-57264-1.rs

10 lines
130 B
Rust
Raw Normal View History

mod inner {
pub struct PubUnnameable;
}
pub struct Pub<T>(T);
impl Pub<inner::PubUnnameable> {
pub fn pub_method() {}
}