This commit is contained in:
csmoe 2018-07-11 22:41:03 +08:00 committed by Oliver Schneider
parent 6a16b38198
commit f12eca47e0
21 changed files with 143 additions and 142 deletions

View file

@ -666,7 +666,7 @@ impl<'l, 'tcx: 'l> SaveContext<'l, 'tcx> {
}) => HirDef::Local(canonical_id),
Node::NodeTy(ty) => if let hir::Ty {
node: hir::TyPath(ref qpath),
node: hir::TyKind::Path(ref qpath),
..
} = *ty
{