rust/tests/ui/lint/lint-non-camel-case-variant.rs

11 lines
122 B
Rust

//@ check-pass
#![deny(non_camel_case_types)]
pub enum Foo {
#[allow(non_camel_case_types)]
bar
}
fn main() {}