2024-03-07 10:19:29 -06:00
|
|
|
error: item has both inner and outer attributes
|
2024-03-21 16:20:40 -05:00
|
|
|
--> tests/ui/mixed_attributes_style.rs:4:1
|
2024-03-07 10:19:29 -06:00
|
|
|
|
|
|
|
|
LL | / #[allow(unused)]
|
|
|
|
LL | | fn foo1() {
|
|
|
|
LL | | #![allow(unused)]
|
|
|
|
| |_____________________^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::mixed-attributes-style` implied by `-D warnings`
|
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::mixed_attributes_style)]`
|
|
|
|
|
|
|
|
error: item has both inner and outer attributes
|
2024-03-21 16:20:40 -05:00
|
|
|
--> tests/ui/mixed_attributes_style.rs:18:1
|
2024-03-07 10:19:29 -06:00
|
|
|
|
|
|
|
|
LL | / /// linux
|
|
|
|
LL | |
|
|
|
|
LL | | fn foo4() {
|
|
|
|
LL | | //! windows
|
|
|
|
| |_______________^
|
|
|
|
|
|
|
|
error: item has both inner and outer attributes
|
2024-03-21 16:20:40 -05:00
|
|
|
--> tests/ui/mixed_attributes_style.rs:33:1
|
2024-03-07 10:19:29 -06:00
|
|
|
|
|
|
|
|
LL | / #[allow(unused)]
|
|
|
|
LL | | mod bar {
|
|
|
|
LL | | #![allow(unused)]
|
|
|
|
| |_____________________^
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|