Update TypeVariants to TyKind

This has been renamed in https://github.com/rust-lang/rust/pull/53581.
This commit is contained in:
Nikita Popov 2018-10-26 14:34:09 +02:00 committed by Who? Me?!
parent 438e686c7c
commit 0fa9487b4f
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ fn test_type<'tcx>(ty: Ty<'tcx>) {
```
The `sty` field (the origin of this name is unclear to me; perhaps
structural type?) is of type `TypeVariants<'tcx>`, which is an enum
structural type?) is of type `TyKind<'tcx>`, which is an enum
defining all of the different kinds of types in the compiler.
> N.B. inspecting the `sty` field on types during type inference can be