@@ -37,139 +37,139 @@ LL | Foo::new()
37
37
| ^^^ help: use the applicable keyword: `Self`
38
38
39
39
error: unnecessary structure name repetition
40
- --> $DIR/use_self.rs:94 :24
40
+ --> $DIR/use_self.rs:93 :24
41
41
|
42
42
LL | fn bad(foos: &[Foo]) -> impl Iterator<Item = &Foo> {
43
43
| ^^^ help: use the applicable keyword: `Self`
44
44
45
45
error: unnecessary structure name repetition
46
- --> $DIR/use_self.rs:94 :55
46
+ --> $DIR/use_self.rs:93 :55
47
47
|
48
48
LL | fn bad(foos: &[Foo]) -> impl Iterator<Item = &Foo> {
49
49
| ^^^ help: use the applicable keyword: `Self`
50
50
51
51
error: unnecessary structure name repetition
52
- --> $DIR/use_self.rs:109 :13
52
+ --> $DIR/use_self.rs:108 :13
53
53
|
54
54
LL | TS(0)
55
55
| ^^ help: use the applicable keyword: `Self`
56
56
57
57
error: unnecessary structure name repetition
58
- --> $DIR/use_self.rs:144 :29
58
+ --> $DIR/use_self.rs:143 :29
59
59
|
60
60
LL | fn bar() -> Bar {
61
61
| ^^^ help: use the applicable keyword: `Self`
62
62
63
63
error: unnecessary structure name repetition
64
- --> $DIR/use_self.rs:145 :21
64
+ --> $DIR/use_self.rs:144 :21
65
65
|
66
66
LL | Bar { foo: Foo {} }
67
67
| ^^^ help: use the applicable keyword: `Self`
68
68
69
69
error: unnecessary structure name repetition
70
- --> $DIR/use_self.rs:156 :21
70
+ --> $DIR/use_self.rs:155 :21
71
71
|
72
72
LL | fn baz() -> Foo {
73
73
| ^^^ help: use the applicable keyword: `Self`
74
74
75
75
error: unnecessary structure name repetition
76
- --> $DIR/use_self.rs:157 :13
76
+ --> $DIR/use_self.rs:156 :13
77
77
|
78
78
LL | Foo {}
79
79
| ^^^ help: use the applicable keyword: `Self`
80
80
81
81
error: unnecessary structure name repetition
82
- --> $DIR/use_self.rs:174 :21
82
+ --> $DIR/use_self.rs:173 :21
83
83
|
84
84
LL | let _ = Enum::B(42);
85
85
| ^^^^ help: use the applicable keyword: `Self`
86
86
87
87
error: unnecessary structure name repetition
88
- --> $DIR/use_self.rs:175 :21
88
+ --> $DIR/use_self.rs:174 :21
89
89
|
90
90
LL | let _ = Enum::C { field: true };
91
91
| ^^^^ help: use the applicable keyword: `Self`
92
92
93
93
error: unnecessary structure name repetition
94
- --> $DIR/use_self.rs:176 :21
94
+ --> $DIR/use_self.rs:175 :21
95
95
|
96
96
LL | let _ = Enum::A;
97
97
| ^^^^ help: use the applicable keyword: `Self`
98
98
99
99
error: unnecessary structure name repetition
100
- --> $DIR/use_self.rs:218 :13
100
+ --> $DIR/use_self.rs:217 :13
101
101
|
102
102
LL | nested::A::fun_1();
103
103
| ^^^^^^^^^ help: use the applicable keyword: `Self`
104
104
105
105
error: unnecessary structure name repetition
106
- --> $DIR/use_self.rs:219 :13
106
+ --> $DIR/use_self.rs:218 :13
107
107
|
108
108
LL | nested::A::A;
109
109
| ^^^^^^^^^ help: use the applicable keyword: `Self`
110
110
111
111
error: unnecessary structure name repetition
112
- --> $DIR/use_self.rs:221 :13
112
+ --> $DIR/use_self.rs:220 :13
113
113
|
114
114
LL | nested::A {};
115
115
| ^^^^^^^^^ help: use the applicable keyword: `Self`
116
116
117
117
error: unnecessary structure name repetition
118
- --> $DIR/use_self.rs:240 :13
118
+ --> $DIR/use_self.rs:239 :13
119
119
|
120
120
LL | TestStruct::from_something()
121
121
| ^^^^^^^^^^ help: use the applicable keyword: `Self`
122
122
123
123
error: unnecessary structure name repetition
124
- --> $DIR/use_self.rs:254 :25
124
+ --> $DIR/use_self.rs:253 :25
125
125
|
126
126
LL | async fn g() -> S {
127
127
| ^ help: use the applicable keyword: `Self`
128
128
129
129
error: unnecessary structure name repetition
130
- --> $DIR/use_self.rs:255 :13
130
+ --> $DIR/use_self.rs:254 :13
131
131
|
132
132
LL | S {}
133
133
| ^ help: use the applicable keyword: `Self`
134
134
135
135
error: unnecessary structure name repetition
136
- --> $DIR/use_self.rs:259 :16
136
+ --> $DIR/use_self.rs:258 :16
137
137
|
138
138
LL | &p[S::A..S::B]
139
139
| ^ help: use the applicable keyword: `Self`
140
140
141
141
error: unnecessary structure name repetition
142
- --> $DIR/use_self.rs:259 :22
142
+ --> $DIR/use_self.rs:258 :22
143
143
|
144
144
LL | &p[S::A..S::B]
145
145
| ^ help: use the applicable keyword: `Self`
146
146
147
147
error: unnecessary structure name repetition
148
- --> $DIR/use_self.rs:282 :29
148
+ --> $DIR/use_self.rs:281 :29
149
149
|
150
150
LL | fn foo(value: T) -> Foo<T> {
151
151
| ^^^^^^ help: use the applicable keyword: `Self`
152
152
153
153
error: unnecessary structure name repetition
154
- --> $DIR/use_self.rs:283 :13
154
+ --> $DIR/use_self.rs:282 :13
155
155
|
156
156
LL | Foo { value }
157
157
| ^^^ help: use the applicable keyword: `Self`
158
158
159
159
error: unnecessary structure name repetition
160
- --> $DIR/use_self.rs:320 :21
160
+ --> $DIR/use_self.rs:319 :21
161
161
|
162
162
LL | type From = T::From;
163
163
| ^^^^^^^ help: use the applicable keyword: `Self`
164
164
165
165
error: unnecessary structure name repetition
166
- --> $DIR/use_self.rs:321 :19
166
+ --> $DIR/use_self.rs:320 :19
167
167
|
168
168
LL | type To = T::To;
169
169
| ^^^^^ help: use the applicable keyword: `Self`
170
170
171
171
error: unnecessary structure name repetition
172
- --> $DIR/use_self.rs:454 :13
172
+ --> $DIR/use_self.rs:453 :13
173
173
|
174
174
LL | A::new::<submod::B>(submod::B {})
175
175
| ^ help: use the applicable keyword: `Self`
0 commit comments