summaryrefslogtreecommitdiffstats
path: root/tests/rustdoc/union.rs
blob: 5a788eb1b1cae65bef324d681238905a357fa462 (plain)
1
2
3
4
5
6
7
8
// @has union/union.U.html
pub union U {
    // @has - //pre "pub a: u8"
    pub a: u8,
    // @has - //pre "/* private fields */"
    // @!has - //pre "b: u16"
    b: u16,
}