use American spelling for `pluralize!`
ForeignItem.node
ForeignItem.kind
pluralize!
Item.node
Item.kind
ty::GenericsPredicate
ItemImplKind::Type
ItemImplKind::TyAlias
For high-level intro to how type checking works in rustc, see the type checking chapter of the rustc guide.