Skip to content

Commit

Permalink
Merge pull request rust-lang#118 from JohnTitor/rustup
Browse files Browse the repository at this point in the history
Rustup to the latest nightly
  • Loading branch information
Manishearth authored Apr 29, 2020
2 parents 2903fa9 + 9eef88e commit 81c26e0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/mapping.rs
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,17 @@ impl NameMapping {
AssocFn |
AssocConst => Some(&mut self.value_map),
Macro(_) => Some(&mut self.macro_map),
// They are not namespaced.
ExternCrate |
Use |
ForeignMod |
AnonConst |
Field |
LifetimeParam |
GlobalAsm |
Impl |
Closure |
Generator => None,
},
PrimTy(_) | SelfTy(_, _) => Some(&mut self.type_map),
SelfCtor(_) | Local(_) => Some(&mut self.value_map),
Expand Down

0 comments on commit 81c26e0

Please sign in to comment.