This commit is contained in:
Lzu Tao 2019-09-29 22:58:17 +07:00
parent fe920ebf8b
commit 6e3a0ea6b3

View file

@ -669,7 +669,6 @@ impl<'a, 'tcx> SpanlessHash<'a, 'tcx> {
TyKind::Typeof(anon_const) => {
self.hash_expr(&self.cx.tcx.hir().body(anon_const.body).value);
},
TyKind::CVarArgs(lifetime) => self.hash_lifetime(lifetime),
TyKind::Err | TyKind::Infer | TyKind::Never => {},
}
}