summaryrefslogtreecommitdiffstats
path: root/tests/ui/pattern/usefulness/auxiliary/hidden.rs
blob: 364514ba1d3b057bc58d882b282d8fc885ea2142 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
pub enum HiddenEnum {
    A,
    B,
    #[doc(hidden)]
    C,
}

#[derive(Default)]
pub struct HiddenStruct {
    pub one: u8,
    pub two: bool,
    #[doc(hidden)]
    pub hide: usize,
}