rust-clippy/tests/ui/mixed_attributes_style/auxiliary/submodule.rs

10 lines
151 B
Rust
Raw Normal View History

//! Module level doc
#![allow(dead_code)]
#[allow(unused)]
//~^ ERROR: item has both inner and outer attributes
mod foo {
#![allow(dead_code)]
}