summaryrefslogtreecommitdiffstats
path: root/tests/ui/structs-enums/auxiliary/namespaced_enums.rs
blob: d3548c76cf2a61a19076f15ed333b9aebfabcc25 (plain)
1
2
3
4
5
6
7
8
9
10
pub enum Foo {
    A,
    B(isize),
    C { a: isize },
}

impl Foo {
    pub fn foo() {}
    pub fn bar(&self) {}
}