summaryrefslogtreecommitdiffstats
path: root/tests/ui/pattern/auxiliary/declarations-for-tuple-field-count-errors.rs
blob: f7373c453966c1fa1ad25534deea38c6b34f649f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
pub struct Z0;
pub struct Z1();

pub struct S(pub u8, pub u8, pub u8);
pub struct M(
    pub u8,
    pub u8,
    pub u8,
);

pub enum E1 { Z0, Z1(), S(u8, u8, u8) }

pub enum E2 {
    S(u8, u8, u8),
    M(
        u8,
        u8,
        u8,
    ),
}