mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-19 09:33:36 +00:00
15 lines
433 B
Text
15 lines
433 B
Text
|
error: item has both inner and outer attributes
|
||
|
--> tests/ui/mixed_attributes_style/auxiliary/submodule.rs:5:1
|
||
|
|
|
||
|
LL | / #[allow(unused)]
|
||
|
LL | |
|
||
|
LL | | mod foo {
|
||
|
LL | | #![allow(dead_code)]
|
||
|
| |________________________^
|
||
|
|
|
||
|
= note: `-D clippy::mixed-attributes-style` implied by `-D warnings`
|
||
|
= help: to override `-D warnings` add `#[allow(clippy::mixed_attributes_style)]`
|
||
|
|
||
|
error: aborting due to 1 previous error
|
||
|
|