@@ -121,88 +121,94 @@ LL | TyKind::GeneratorWitness(..) => (),
121121error: usage of `ty::TyKind::<kind>`
122122 --> $DIR/ty_tykind_usage.rs:34:9
123123 |
124- LL | TyKind::Never => (),
124+ LL | TyKind::GeneratorWitnessMIR(..) => (),
125125 | ^^^^^^ help: try using `ty::<kind>` directly: `ty`
126126
127127error: usage of `ty::TyKind::<kind>`
128128 --> $DIR/ty_tykind_usage.rs:35:9
129129 |
130- LL | TyKind::Tuple(..) => (),
130+ LL | TyKind::Never => (),
131131 | ^^^^^^ help: try using `ty::<kind>` directly: `ty`
132132
133133error: usage of `ty::TyKind::<kind>`
134134 --> $DIR/ty_tykind_usage.rs:36:9
135135 |
136- LL | TyKind::Alias (..) => (),
136+ LL | TyKind::Tuple (..) => (),
137137 | ^^^^^^ help: try using `ty::<kind>` directly: `ty`
138138
139139error: usage of `ty::TyKind::<kind>`
140140 --> $DIR/ty_tykind_usage.rs:37:9
141141 |
142- LL | TyKind::Param (..) => (),
142+ LL | TyKind::Alias (..) => (),
143143 | ^^^^^^ help: try using `ty::<kind>` directly: `ty`
144144
145145error: usage of `ty::TyKind::<kind>`
146146 --> $DIR/ty_tykind_usage.rs:38:9
147147 |
148- LL | TyKind::Bound (..) => (),
148+ LL | TyKind::Param (..) => (),
149149 | ^^^^^^ help: try using `ty::<kind>` directly: `ty`
150150
151151error: usage of `ty::TyKind::<kind>`
152152 --> $DIR/ty_tykind_usage.rs:39:9
153153 |
154- LL | TyKind::Placeholder (..) => (),
154+ LL | TyKind::Bound (..) => (),
155155 | ^^^^^^ help: try using `ty::<kind>` directly: `ty`
156156
157157error: usage of `ty::TyKind::<kind>`
158158 --> $DIR/ty_tykind_usage.rs:40:9
159159 |
160- LL | TyKind::Infer (..) => (),
160+ LL | TyKind::Placeholder (..) => (),
161161 | ^^^^^^ help: try using `ty::<kind>` directly: `ty`
162162
163163error: usage of `ty::TyKind::<kind>`
164164 --> $DIR/ty_tykind_usage.rs:41:9
165165 |
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+ |
166172LL | TyKind::Error(_) => (),
167173 | ^^^^^^ help: try using `ty::<kind>` directly: `ty`
168174
169175error: usage of `ty::TyKind::<kind>`
170- --> $DIR/ty_tykind_usage.rs:46 :12
176+ --> $DIR/ty_tykind_usage.rs:47 :12
171177 |
172178LL | if let TyKind::Int(int_ty) = kind {}
173179 | ^^^^^^ help: try using `ty::<kind>` directly: `ty`
174180
175181error: usage of `ty::TyKind`
176- --> $DIR/ty_tykind_usage.rs:48 :24
182+ --> $DIR/ty_tykind_usage.rs:49 :24
177183 |
178184LL | fn ty_kind(ty_bad: TyKind<'_>, ty_good: Ty<'_>) {}
179185 | ^^^^^^^^^^
180186 |
181187 = help: try using `Ty` instead
182188
183189error: usage of `ty::TyKind`
184- --> $DIR/ty_tykind_usage.rs:50 :37
190+ --> $DIR/ty_tykind_usage.rs:51 :37
185191 |
186192LL | fn ir_ty_kind<I: Interner>(bad: IrTyKind<I>) -> IrTyKind<I> {
187193 | ^^^^^^^^^^^
188194 |
189195 = help: try using `Ty` instead
190196
191197error: usage of `ty::TyKind`
192- --> $DIR/ty_tykind_usage.rs:50 :53
198+ --> $DIR/ty_tykind_usage.rs:51 :53
193199 |
194200LL | fn ir_ty_kind<I: Interner>(bad: IrTyKind<I>) -> IrTyKind<I> {
195201 | ^^^^^^^^^^^
196202 |
197203 = help: try using `Ty` instead
198204
199205error: usage of `ty::TyKind::<kind>`
200- --> $DIR/ty_tykind_usage.rs:53 :9
206+ --> $DIR/ty_tykind_usage.rs:54 :9
201207 |
202208LL | IrTyKind::Bool
203209 | --------^^^^^^
204210 | |
205211 | help: try using `ty::<kind>` directly: `ty`
206212
207- error: aborting due to 32 previous errors
213+ error: aborting due to 33 previous errors
208214
0 commit comments