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

9 lines
151 B
Rust

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