summaryrefslogtreecommitdiffstats
path: root/tests/ui/structs/auxiliary/struct_field_privacy.rs
blob: 9765af1a7f652ac5e2bce5d4bcad7fb7b06b56c7 (plain)
1
2
3
4
5
6
7
8
9
pub struct A {
    a: isize,
    pub b: isize,
}

pub struct B {
    pub a: isize,
    b: isize,
}