summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/lint-non-camel-case-variant.rs
blob: 2b1a52f25be87de2c36151a86e422defea3724cd (plain)
1
2
3
4
5
6
7
8
9
10
// check-pass

#![deny(non_camel_case_types)]

pub enum Foo {
    #[allow(non_camel_case_types)]
    bar
}

fn main() {}