rust/tests/ui/parser/inner-attr-in-trait-def.rs

10 lines
116 B
Rust

//@ check-pass
#![deny(non_camel_case_types)]
fn main() {}
trait foo_bar {
#![allow(non_camel_case_types)]
}