rustc: remove Res::Upvar.
This commit is contained in:
parent
340b91e2ff
commit
ed1bbbb545
12 changed files with 61 additions and 84 deletions
|
@ -1409,7 +1409,6 @@ impl Expr {
|
|||
ExprKind::Path(QPath::Resolved(_, ref path)) => {
|
||||
match path.res {
|
||||
Res::Local(..)
|
||||
| Res::Upvar(..)
|
||||
| Res::Def(DefKind::Static, _)
|
||||
| Res::Err => true,
|
||||
_ => false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue