rust/src/test/compile-fail/lint-non-camel-case-variant.rs
2012-07-31 18:58:23 -07:00

8 lines
121 B
Rust

#[forbid(non_camel_case_types)]
enum Foo {
bar //~ ERROR type, variant, or trait must be camel case
}
fn main() {
}