rustc: remove Res::Upvar.

This commit is contained in:
Eduard-Mihai Burtescu 2019-05-28 18:06:01 +03:00
parent 340b91e2ff
commit ed1bbbb545
12 changed files with 61 additions and 84 deletions

View file

@ -702,7 +702,7 @@ impl<'l, 'tcx: 'l> SaveContext<'l, 'tcx> {
let span = self.span_from_span(span);
match res {
Res::Upvar(id, ..) | Res::Local(id) => {
Res::Local(id) => {
Some(Ref {
kind: RefKind::Variable,
span,