Remove unnecessary TyKind::s

This commit is contained in:
varkor 2018-08-22 02:08:01 +01:00
parent 8a5dccde2a
commit 08f3685a82
8 changed files with 13 additions and 13 deletions

View file

@ -83,7 +83,7 @@ impl<'a, 'tcx, 'rcx, 'cstore> BlanketImplFinder <'a, 'tcx, 'rcx, 'cstore> {
.expect("Cannot get impl trait");
match trait_ref.self_ty().sty {
ty::TyParam(_) => {},
ty::Param(_) => {},
_ => return,
}