about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/mixed_attributes_style/mod_declaration.stderr
blob: 1239742a05b7e237dc3e1911693e6581f4d1f34a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
error: item has both inner and outer attributes
  --> tests/ui/mixed_attributes_style/auxiliary/submodule.rs:5:1
   |
LL | / #[allow(unused)]
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