about summary refs log tree commit diff
path: root/src/tools/clippy/tests/ui/duplicated_attributes.stderr
blob: 922939d60dd65332ef2983ed6ab5b48e5a71ceef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
error: duplicated attribute
  --> tests/ui/duplicated_attributes.rs:2:40
   |
LL | #![warn(clippy::duplicated_attributes, clippy::duplicated_attributes)]
   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
note: first defined here
  --> tests/ui/duplicated_attributes.rs:2:9
   |
LL | #![warn(clippy::duplicated_attributes, clippy::duplicated_attributes)]
   |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
help: remove this attribute
  --> tests/ui/duplicated_attributes.rs:2:40
   |
LL | #![warn(clippy::duplicated_attributes, clippy::duplicated_attributes)]
   |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   = note: `-D clippy::duplicated-attributes` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::duplicated_attributes)]`

error: duplicated attribute
  --> tests/ui/duplicated_attributes.rs:6:10
   |
LL | #![allow(dead_code)]
   |          ^^^^^^^^^
   |
note: first defined here
  --> tests/ui/duplicated_attributes.rs:5:10
   |
LL | #![allow(dead_code)]
   |          ^^^^^^^^^
help: remove this attribute
  --> tests/ui/duplicated_attributes.rs:6:10
   |
LL | #![allow(dead_code)]
   |          ^^^^^^^^^

error: duplicated attribute
  --> tests/ui/duplicated_attributes.rs:14:9
   |
LL | #[allow(dead_code)]
   |         ^^^^^^^^^
   |
note: first defined here
  --> tests/ui/duplicated_attributes.rs:13:9
   |
LL | #[allow(dead_code)]
   |         ^^^^^^^^^
help: remove this attribute
  --> tests/ui/duplicated_attributes.rs:14:9
   |
LL | #[allow(dead_code)]
   |         ^^^^^^^^^

error: aborting due to 3 previous errors