@@ -46,19 +46,19 @@ error: use of deprecated struct `deprecation_lint::DeprecatedStruct`: text
46
46
LL | let _ = DeprecatedStruct {
47
47
| ^^^^^^^^^^^^^^^^
48
48
49
- error: use of deprecated struct `deprecation_lint::DeprecatedUnitStruct`: text
49
+ error: use of deprecated unit struct `deprecation_lint::DeprecatedUnitStruct`: text
50
50
--> $DIR/deprecation-lint.rs:38:17
51
51
|
52
52
LL | let _ = DeprecatedUnitStruct;
53
53
| ^^^^^^^^^^^^^^^^^^^^
54
54
55
- error: use of deprecated variant `deprecation_lint::Enum::DeprecatedVariant`: text
55
+ error: use of deprecated unit variant `deprecation_lint::Enum::DeprecatedVariant`: text
56
56
--> $DIR/deprecation-lint.rs:40:23
57
57
|
58
58
LL | let _ = Enum::DeprecatedVariant;
59
59
| ^^^^^^^^^^^^^^^^^
60
60
61
- error: use of deprecated struct `deprecation_lint::DeprecatedTupleStruct`: text
61
+ error: use of deprecated tuple struct `deprecation_lint::DeprecatedTupleStruct`: text
62
62
--> $DIR/deprecation-lint.rs:42:17
63
63
|
64
64
LL | let _ = DeprecatedTupleStruct (1);
@@ -70,19 +70,19 @@ error: use of deprecated struct `deprecation_lint::nested::DeprecatedStruct`: te
70
70
LL | let _ = nested::DeprecatedStruct {
71
71
| ^^^^^^^^^^^^^^^^
72
72
73
- error: use of deprecated struct `deprecation_lint::nested::DeprecatedUnitStruct`: text
73
+ error: use of deprecated unit struct `deprecation_lint::nested::DeprecatedUnitStruct`: text
74
74
--> $DIR/deprecation-lint.rs:48:25
75
75
|
76
76
LL | let _ = nested::DeprecatedUnitStruct;
77
77
| ^^^^^^^^^^^^^^^^^^^^
78
78
79
- error: use of deprecated variant `deprecation_lint::nested::Enum::DeprecatedVariant`: text
79
+ error: use of deprecated unit variant `deprecation_lint::nested::Enum::DeprecatedVariant`: text
80
80
--> $DIR/deprecation-lint.rs:50:31
81
81
|
82
82
LL | ... let _ = nested::Enum::DeprecatedVariant;
83
83
| ^^^^^^^^^^^^^^^^^
84
84
85
- error: use of deprecated struct `deprecation_lint::nested::DeprecatedTupleStruct`: text
85
+ error: use of deprecated tuple struct `deprecation_lint::nested::DeprecatedTupleStruct`: text
86
86
--> $DIR/deprecation-lint.rs:52:25
87
87
|
88
88
LL | ... let _ = nested::DeprecatedTupleStruct (1);
@@ -154,19 +154,19 @@ error: use of deprecated struct `deprecation_lint::Deprecated`: text
154
154
LL | let Deprecated
155
155
| ^^^^^^^^^^
156
156
157
- error: use of deprecated struct `deprecation_lint::Deprecated2`: text
157
+ error: use of deprecated tuple struct `deprecation_lint::Deprecated2`: text
158
158
--> $DIR/deprecation-lint.rs:132:17
159
159
|
160
160
LL | let x = Deprecated2(1, 2, 3);
161
161
| ^^^^^^^^^^^
162
162
163
- error: use of deprecated struct `deprecation_lint::Deprecated2`: text
163
+ error: use of deprecated tuple struct `deprecation_lint::Deprecated2`: text
164
164
--> $DIR/deprecation-lint.rs:142:13
165
165
|
166
166
LL | let Deprecated2
167
167
| ^^^^^^^^^^^
168
168
169
- error: use of deprecated struct `deprecation_lint::Deprecated2`: text
169
+ error: use of deprecated tuple struct `deprecation_lint::Deprecated2`: text
170
170
--> $DIR/deprecation-lint.rs:151:13
171
171
|
172
172
LL | let Deprecated2
0 commit comments