File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -81,9 +81,9 @@ impl<'tcx> LateLintPass<'tcx> for MultipleInherentImpl {
81
81
cx,
82
82
MULTIPLE_INHERENT_IMPL ,
83
83
* additional_span,
84
- "Multiple implementations of this structure" ,
84
+ "multiple implementations of this structure" ,
85
85
|diag| {
86
- diag. span_note ( * initial_span, "First implementation here" ) ;
86
+ diag. span_note ( * initial_span, "first implementation here" ) ;
87
87
} ,
88
88
)
89
89
} )
Original file line number Diff line number Diff line change 1
- error: Multiple implementations of this structure
1
+ error: multiple implementations of this structure
2
2
--> $DIR/impl.rs:10:1
3
3
|
4
4
LL | / impl MyStruct {
@@ -7,23 +7,23 @@ LL | | }
7
7
| |_^
8
8
|
9
9
= note: `-D clippy::multiple-inherent-impl` implied by `-D warnings`
10
- note: First implementation here
10
+ note: first implementation here
11
11
--> $DIR/impl.rs:6:1
12
12
|
13
13
LL | / impl MyStruct {
14
14
LL | | fn first() {}
15
15
LL | | }
16
16
| |_^
17
17
18
- error: Multiple implementations of this structure
18
+ error: multiple implementations of this structure
19
19
--> $DIR/impl.rs:24:5
20
20
|
21
21
LL | / impl super::MyStruct {
22
22
LL | | fn third() {}
23
23
LL | | }
24
24
| |_____^
25
25
|
26
- note: First implementation here
26
+ note: first implementation here
27
27
--> $DIR/impl.rs:6:1
28
28
|
29
29
LL | / impl MyStruct {
You can’t perform that action at this time.
0 commit comments