1
Fork 0

Update issue-92893.stderr

This commit is contained in:
ouz-a 2022-04-14 23:42:15 +03:00
parent e7575f9670
commit c20bb1d59f
7 changed files with 41 additions and 15 deletions

View file

@ -319,7 +319,7 @@ impl<'a, 'tcx> Visitor<'tcx> for InteriorVisitor<'a, 'tcx> {
self.expr_count += 1;
if let PatKind::Binding(..) = pat.kind {
let scope = self.region_scope_tree.var_scope(pat.hir_id.local_id);
let scope = self.region_scope_tree.var_scope(pat.hir_id.local_id).unwrap();
let ty = self.fcx.typeck_results.borrow().pat_ty(pat);
self.record(ty, pat.hir_id, Some(scope), None, pat.span, false);
}