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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
121 B
Rust
Raw Normal View History

2020-01-22 18:00:00 -06:00
// check-pass
#![deny(non_camel_case_types)]
pub enum Foo {
#[allow(non_camel_case_types)]
bar
}
fn main() {}