@@ -121,88 +121,94 @@ LL | TyKind::GeneratorWitness(..) => (),
121
121
error: usage of `ty::TyKind::<kind>`
122
122
--> $DIR/ty_tykind_usage.rs:34:9
123
123
|
124
- LL | TyKind::Never => (),
124
+ LL | TyKind::GeneratorWitnessMIR(..) => (),
125
125
| ^^^^^^ help: try using `ty::<kind>` directly: `ty`
126
126
127
127
error: usage of `ty::TyKind::<kind>`
128
128
--> $DIR/ty_tykind_usage.rs:35:9
129
129
|
130
- LL | TyKind::Tuple(..) => (),
130
+ LL | TyKind::Never => (),
131
131
| ^^^^^^ help: try using `ty::<kind>` directly: `ty`
132
132
133
133
error: usage of `ty::TyKind::<kind>`
134
134
--> $DIR/ty_tykind_usage.rs:36:9
135
135
|
136
- LL | TyKind::Alias (..) => (),
136
+ LL | TyKind::Tuple (..) => (),
137
137
| ^^^^^^ help: try using `ty::<kind>` directly: `ty`
138
138
139
139
error: usage of `ty::TyKind::<kind>`
140
140
--> $DIR/ty_tykind_usage.rs:37:9
141
141
|
142
- LL | TyKind::Param (..) => (),
142
+ LL | TyKind::Alias (..) => (),
143
143
| ^^^^^^ help: try using `ty::<kind>` directly: `ty`
144
144
145
145
error: usage of `ty::TyKind::<kind>`
146
146
--> $DIR/ty_tykind_usage.rs:38:9
147
147
|
148
- LL | TyKind::Bound (..) => (),
148
+ LL | TyKind::Param (..) => (),
149
149
| ^^^^^^ help: try using `ty::<kind>` directly: `ty`
150
150
151
151
error: usage of `ty::TyKind::<kind>`
152
152
--> $DIR/ty_tykind_usage.rs:39:9
153
153
|
154
- LL | TyKind::Placeholder (..) => (),
154
+ LL | TyKind::Bound (..) => (),
155
155
| ^^^^^^ help: try using `ty::<kind>` directly: `ty`
156
156
157
157
error: usage of `ty::TyKind::<kind>`
158
158
--> $DIR/ty_tykind_usage.rs:40:9
159
159
|
160
- LL | TyKind::Infer (..) => (),
160
+ LL | TyKind::Placeholder (..) => (),
161
161
| ^^^^^^ help: try using `ty::<kind>` directly: `ty`
162
162
163
163
error: usage of `ty::TyKind::<kind>`
164
164
--> $DIR/ty_tykind_usage.rs:41:9
165
165
|
166
+ LL | TyKind::Infer(..) => (),
167
+ | ^^^^^^ help: try using `ty::<kind>` directly: `ty`
168
+
169
+ error: usage of `ty::TyKind::<kind>`
170
+ --> $DIR/ty_tykind_usage.rs:42:9
171
+ |
166
172
LL | TyKind::Error(_) => (),
167
173
| ^^^^^^ help: try using `ty::<kind>` directly: `ty`
168
174
169
175
error: usage of `ty::TyKind::<kind>`
170
- --> $DIR/ty_tykind_usage.rs:46 :12
176
+ --> $DIR/ty_tykind_usage.rs:47 :12
171
177
|
172
178
LL | if let TyKind::Int(int_ty) = kind {}
173
179
| ^^^^^^ help: try using `ty::<kind>` directly: `ty`
174
180
175
181
error: usage of `ty::TyKind`
176
- --> $DIR/ty_tykind_usage.rs:48 :24
182
+ --> $DIR/ty_tykind_usage.rs:49 :24
177
183
|
178
184
LL | fn ty_kind(ty_bad: TyKind<'_>, ty_good: Ty<'_>) {}
179
185
| ^^^^^^^^^^
180
186
|
181
187
= help: try using `Ty` instead
182
188
183
189
error: usage of `ty::TyKind`
184
- --> $DIR/ty_tykind_usage.rs:50 :37
190
+ --> $DIR/ty_tykind_usage.rs:51 :37
185
191
|
186
192
LL | fn ir_ty_kind<I: Interner>(bad: IrTyKind<I>) -> IrTyKind<I> {
187
193
| ^^^^^^^^^^^
188
194
|
189
195
= help: try using `Ty` instead
190
196
191
197
error: usage of `ty::TyKind`
192
- --> $DIR/ty_tykind_usage.rs:50 :53
198
+ --> $DIR/ty_tykind_usage.rs:51 :53
193
199
|
194
200
LL | fn ir_ty_kind<I: Interner>(bad: IrTyKind<I>) -> IrTyKind<I> {
195
201
| ^^^^^^^^^^^
196
202
|
197
203
= help: try using `Ty` instead
198
204
199
205
error: usage of `ty::TyKind::<kind>`
200
- --> $DIR/ty_tykind_usage.rs:53 :9
206
+ --> $DIR/ty_tykind_usage.rs:54 :9
201
207
|
202
208
LL | IrTyKind::Bool
203
209
| --------^^^^^^
204
210
| |
205
211
| help: try using `ty::<kind>` directly: `ty`
206
212
207
- error: aborting due to 32 previous errors
213
+ error: aborting due to 33 previous errors
208
214
0 commit comments