@@ -37,19 +37,19 @@ 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:89 :56
40
+ --> $DIR/use_self.rs:90 :56
41
41
|
42
42
LL | fn bad(foos: &[Self]) -> 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:104 :13
46
+ --> $DIR/use_self.rs:105 :13
47
47
|
48
48
LL | TS(0)
49
49
| ^^ help: use the applicable keyword: `Self`
50
50
51
51
error: unnecessary structure name repetition
52
- --> $DIR/use_self.rs:112 :25
52
+ --> $DIR/use_self.rs:113 :25
53
53
|
54
54
LL | fn new() -> Foo {
55
55
| ^^^ help: use the applicable keyword: `Self`
@@ -60,7 +60,7 @@ LL | use_self_expand!(); // Should lint in local macros
60
60
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
61
61
62
62
error: unnecessary structure name repetition
63
- --> $DIR/use_self.rs:113 :17
63
+ --> $DIR/use_self.rs:114 :17
64
64
|
65
65
LL | Foo {}
66
66
| ^^^ help: use the applicable keyword: `Self`
@@ -71,91 +71,91 @@ LL | use_self_expand!(); // Should lint in local macros
71
71
= note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
72
72
73
73
error: unnecessary structure name repetition
74
- --> $DIR/use_self.rs:148 :21
74
+ --> $DIR/use_self.rs:149 :21
75
75
|
76
76
LL | fn baz() -> Foo {
77
77
| ^^^ help: use the applicable keyword: `Self`
78
78
79
79
error: unnecessary structure name repetition
80
- --> $DIR/use_self.rs:149 :13
80
+ --> $DIR/use_self.rs:150 :13
81
81
|
82
82
LL | Foo {}
83
83
| ^^^ help: use the applicable keyword: `Self`
84
84
85
85
error: unnecessary structure name repetition
86
- --> $DIR/use_self.rs:136 :29
86
+ --> $DIR/use_self.rs:137 :29
87
87
|
88
88
LL | fn bar() -> Bar {
89
89
| ^^^ help: use the applicable keyword: `Self`
90
90
91
91
error: unnecessary structure name repetition
92
- --> $DIR/use_self.rs:137 :21
92
+ --> $DIR/use_self.rs:138 :21
93
93
|
94
94
LL | Bar { foo: Foo {} }
95
95
| ^^^ help: use the applicable keyword: `Self`
96
96
97
97
error: unnecessary structure name repetition
98
- --> $DIR/use_self.rs:166 :21
98
+ --> $DIR/use_self.rs:167 :21
99
99
|
100
100
LL | let _ = Enum::B(42);
101
101
| ^^^^ help: use the applicable keyword: `Self`
102
102
103
103
error: unnecessary structure name repetition
104
- --> $DIR/use_self.rs:167 :21
104
+ --> $DIR/use_self.rs:168 :21
105
105
|
106
106
LL | let _ = Enum::C { field: true };
107
107
| ^^^^ help: use the applicable keyword: `Self`
108
108
109
109
error: unnecessary structure name repetition
110
- --> $DIR/use_self.rs:168 :21
110
+ --> $DIR/use_self.rs:169 :21
111
111
|
112
112
LL | let _ = Enum::A;
113
113
| ^^^^ help: use the applicable keyword: `Self`
114
114
115
115
error: unnecessary structure name repetition
116
- --> $DIR/use_self.rs:199 :13
116
+ --> $DIR/use_self.rs:200 :13
117
117
|
118
118
LL | nested::A::fun_1();
119
119
| ^^^^^^^^^ help: use the applicable keyword: `Self`
120
120
121
121
error: unnecessary structure name repetition
122
- --> $DIR/use_self.rs:200 :13
122
+ --> $DIR/use_self.rs:201 :13
123
123
|
124
124
LL | nested::A::A;
125
125
| ^^^^^^^^^ help: use the applicable keyword: `Self`
126
126
127
127
error: unnecessary structure name repetition
128
- --> $DIR/use_self.rs:202 :13
128
+ --> $DIR/use_self.rs:203 :13
129
129
|
130
130
LL | nested::A {};
131
131
| ^^^^^^^^^ help: use the applicable keyword: `Self`
132
132
133
133
error: unnecessary structure name repetition
134
- --> $DIR/use_self.rs:221 :13
134
+ --> $DIR/use_self.rs:222 :13
135
135
|
136
136
LL | TestStruct::from_something()
137
137
| ^^^^^^^^^^ help: use the applicable keyword: `Self`
138
138
139
139
error: unnecessary structure name repetition
140
- --> $DIR/use_self.rs:235 :25
140
+ --> $DIR/use_self.rs:236 :25
141
141
|
142
142
LL | async fn g() -> S {
143
143
| ^ help: use the applicable keyword: `Self`
144
144
145
145
error: unnecessary structure name repetition
146
- --> $DIR/use_self.rs:236 :13
146
+ --> $DIR/use_self.rs:237 :13
147
147
|
148
148
LL | S {}
149
149
| ^ help: use the applicable keyword: `Self`
150
150
151
151
error: unnecessary structure name repetition
152
- --> $DIR/use_self.rs:240 :16
152
+ --> $DIR/use_self.rs:241 :16
153
153
|
154
154
LL | &p[S::A..S::B]
155
155
| ^ help: use the applicable keyword: `Self`
156
156
157
157
error: unnecessary structure name repetition
158
- --> $DIR/use_self.rs:240 :22
158
+ --> $DIR/use_self.rs:241 :22
159
159
|
160
160
LL | &p[S::A..S::B]
161
161
| ^ help: use the applicable keyword: `Self`
0 commit comments