rustc: remove Res::Upvar.
This commit is contained in:
parent
340b91e2ff
commit
ed1bbbb545
12 changed files with 61 additions and 84 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue