summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/inner-attr-in-trait-def.rs
blob: 8dba6b362cdfaf4f5d2c161b01f01f2da8a0fe47 (plain)
1
2
3
4
5
6
7
8
9
// check-pass

#![deny(non_camel_case_types)]

fn main() {}

trait foo_bar {
    #![allow(non_camel_case_types)]
}