11error: item has both inner and outer attributes
2- --> tests/ui/mixed_attributes_style.rs:8 :1
2+ --> tests/ui/mixed_attributes_style.rs:10 :1
33 |
44LL | / #[allow(unused)]
55LL | | fn foo1() {
@@ -10,7 +10,7 @@ LL | | #![allow(unused)]
1010 = help: to override `-D warnings` add `#[allow(clippy::mixed_attributes_style)]`
1111
1212error: item has both inner and outer attributes
13- --> tests/ui/mixed_attributes_style.rs:22 :1
13+ --> tests/ui/mixed_attributes_style.rs:24 :1
1414 |
1515LL | / /// linux
1616LL | |
@@ -19,37 +19,45 @@ LL | | //! windows
1919 | |_______________^
2020
2121error: item has both inner and outer attributes
22- --> tests/ui/mixed_attributes_style.rs:37 :1
22+ --> tests/ui/mixed_attributes_style.rs:39 :1
2323 |
2424LL | / #[allow(unused)]
2525LL | | mod bar {
2626LL | | #![allow(unused)]
2727 | |_____________________^
2828
2929error: item has both inner and outer attributes
30- --> tests/ui/mixed_attributes_style.rs:72:5
30+ --> tests/ui/mixed_attributes_style.rs:69:9
3131 |
32- LL | / #[allow(dead_code)]
33- LL | | mod inner_mod {
34- LL | | #![allow(dead_code)]
35- | |____________________________ ^
32+ LL | / #[allow(dead_code)]
33+ LL | | mod inner_mod {
34+ LL | | #![allow(dead_code)]
35+ | |________________________________ ^
3636
3737error: item has both inner and outer attributes
38- --> tests/ui/mixed_attributes_style.rs:77:1
38+ --> tests/ui/mixed_attributes_style.rs:80:9
3939 |
40- LL | / /// Nested mod - Good
41- LL | | #[allow(unused)]
42- LL | | mod nest_mod_2 {
43- LL | | #![allow(unused)]
44- | |_____________________^
40+ LL | / #[allow(dead_code)]
41+ LL | | mod inner_mod {
42+ LL | | #![allow(dead_code)]
43+ | |________________________________^
44+
45+ error: item has both inner and outer attributes
46+ --> tests/ui/mixed_attributes_style.rs:85:5
47+ |
48+ LL | / /// Nested mod
49+ LL | | #[allow(unused)]
50+ LL | | mod nest_mod_2 {
51+ LL | | #![allow(unused)]
52+ | |_________________________^
4553
4654error: item has both inner and outer attributes
47- --> tests/ui/mixed_attributes_style.rs:82:5
55+ --> tests/ui/mixed_attributes_style.rs:90:9
4856 |
49- LL | / #[allow(dead_code)]
50- LL | | mod inner_mod {
51- LL | | #![allow(dead_code)]
52- | |____________________________ ^
57+ LL | / #[allow(dead_code)]
58+ LL | | mod inner_mod {
59+ LL | | #![allow(dead_code)]
60+ | |________________________________ ^
5361
54- error: aborting due to 6 previous errors
62+ error: aborting due to 7 previous errors
5563
0 commit comments