mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 00:24:03 +00:00
11 lines
122 B
Rust
11 lines
122 B
Rust
//@ check-pass
|
|
|
|
#![deny(non_camel_case_types)]
|
|
|
|
pub enum Foo {
|
|
#[allow(non_camel_case_types)]
|
|
bar
|
|
}
|
|
|
|
fn main() {}
|