Commit e82cfec
committed
Ignore buggy clippy::duplicated_attributes lint
rust-lang/rust-clippy#12537
rust-lang/rust-clippy#12538
```
error: duplicated attribute
--> src\imp\mod.rs:168:21
|
168 | any(not(portable_atomic_no_asm), portable_atomic_unstable_asm),
| ^^^^^^^^^^^^^^^^^^^^^^
|
note: first defined here
--> src\imp\mod.rs:164:21
|
164 | any(not(portable_atomic_no_asm), portable_atomic_unstable_asm),
| ^^^^^^^^^^^^^^^^^^^^^^
help: remove this attribute
--> src\imp\mod.rs:168:21
|
168 | any(not(portable_atomic_no_asm), portable_atomic_unstable_asm),
| ^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#duplicated_attributes
= note: `-D clippy::duplicated-attributes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::duplicated_attributes)]`
error: duplicated attribute
--> src\imp\mod.rs:168:46
|
168 | any(not(portable_atomic_no_asm), portable_atomic_unstable_asm),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: first defined here
--> src\imp\mod.rs:164:46
|
164 | any(not(portable_atomic_no_asm), portable_atomic_unstable_asm),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: remove this attribute
--> src\imp\mod.rs:168:46
|
168 | any(not(portable_atomic_no_asm), portable_atomic_unstable_asm),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#duplicated_attributes
error: duplicated attribute
--> src\imp\mod.rs:179:36
|
179 | all(target_arch = "s390x", portable_atomic_unstable_asm_experimental_arch),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: first defined here
--> src\imp\mod.rs:173:13
|
173 | portable_atomic_unstable_asm_experimental_arch,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: remove this attribute
--> src\imp\mod.rs:179:36
|
179 | all(target_arch = "s390x", portable_atomic_unstable_asm_experimental_arch),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#duplicated_attributes
error: duplicated attribute
--> src\imp\mod.rs:205:5
|
205 | target_arch = "avr",
| ^^^^^^^^^^^^^^^^^^^
|
note: first defined here
--> src\imp\mod.rs:195:5
|
195 | target_arch = "avr",
| ^^^^^^^^^^^^^^^^^^^
help: remove this attribute
--> src\imp\mod.rs:205:5
|
205 | target_arch = "avr",
| ^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#duplicated_attributes
error: duplicated attribute
--> src\imp\mod.rs:206:5
|
206 | target_arch = "msp430",
| ^^^^^^^^^^^^^^^^^^^^^^
|
note: first defined here
--> src\imp\mod.rs:196:5
|
196 | target_arch = "msp430",
| ^^^^^^^^^^^^^^^^^^^^^^
help: remove this attribute
--> src\imp\mod.rs:206:5
|
206 | target_arch = "msp430",
| ^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#duplicated_attributes
error: duplicated attribute
--> src\imp\mod.rs:210:5
|
210 | feature = "critical-section",
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: first defined here
--> src\imp\mod.rs:194:5
|
194 | feature = "critical-section",
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: remove this attribute
--> src\imp\mod.rs:210:5
|
210 | feature = "critical-section",
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#duplicated_attributes
```1 parent 30918e8 commit e82cfec
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
25 | 28 | | |
26 | 29 | | |
27 | 30 | | |
| |||
0 commit comments