@@ -169,46 +169,52 @@ LL | TyKind::Infer(..) => (),
169169error: usage of `ty::TyKind::<kind>`
170170 --> $DIR/ty_tykind_usage.rs:42:9
171171 |
172+ LL | TyKind::TyAlias(..) => (),
173+ | ^^^^^^ help: try using `ty::<kind>` directly: `ty`
174+
175+ error: usage of `ty::TyKind::<kind>`
176+ --> $DIR/ty_tykind_usage.rs:43:9
177+ |
172178LL | TyKind::Error(_) => (),
173179 | ^^^^^^ help: try using `ty::<kind>` directly: `ty`
174180
175181error: usage of `ty::TyKind::<kind>`
176- --> $DIR/ty_tykind_usage.rs:47 :12
182+ --> $DIR/ty_tykind_usage.rs:48 :12
177183 |
178184LL | if let TyKind::Int(int_ty) = kind {}
179185 | ^^^^^^ help: try using `ty::<kind>` directly: `ty`
180186
181187error: usage of `ty::TyKind`
182- --> $DIR/ty_tykind_usage.rs:49 :24
188+ --> $DIR/ty_tykind_usage.rs:50 :24
183189 |
184190LL | fn ty_kind(ty_bad: TyKind<'_>, ty_good: Ty<'_>) {}
185191 | ^^^^^^^^^^
186192 |
187193 = help: try using `Ty` instead
188194
189195error: usage of `ty::TyKind`
190- --> $DIR/ty_tykind_usage.rs:51 :37
196+ --> $DIR/ty_tykind_usage.rs:52 :37
191197 |
192198LL | fn ir_ty_kind<I: Interner>(bad: IrTyKind<I>) -> IrTyKind<I> {
193199 | ^^^^^^^^^^^
194200 |
195201 = help: try using `Ty` instead
196202
197203error: usage of `ty::TyKind`
198- --> $DIR/ty_tykind_usage.rs:51 :53
204+ --> $DIR/ty_tykind_usage.rs:52 :53
199205 |
200206LL | fn ir_ty_kind<I: Interner>(bad: IrTyKind<I>) -> IrTyKind<I> {
201207 | ^^^^^^^^^^^
202208 |
203209 = help: try using `Ty` instead
204210
205211error: usage of `ty::TyKind::<kind>`
206- --> $DIR/ty_tykind_usage.rs:54 :9
212+ --> $DIR/ty_tykind_usage.rs:55 :9
207213 |
208214LL | IrTyKind::Bool
209215 | --------^^^^^^
210216 | |
211217 | help: try using `ty::<kind>` directly: `ty`
212218
213- error: aborting due to 33 previous errors
219+ error: aborting due to 34 previous errors
214220
0 commit comments