Skip to content

Commit 81c26e0

Browse files
authored
Merge pull request rust-lang#118 from JohnTitor/rustup
Rustup to the latest nightly
2 parents 2903fa9 + 9eef88e commit 81c26e0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/mapping.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,17 @@ impl NameMapping {
376376
AssocFn |
377377
AssocConst => Some(&mut self.value_map),
378378
Macro(_) => Some(&mut self.macro_map),
379+
// They are not namespaced.
380+
ExternCrate |
381+
Use |
382+
ForeignMod |
383+
AnonConst |
384+
Field |
385+
LifetimeParam |
386+
GlobalAsm |
387+
Impl |
388+
Closure |
389+
Generator => None,
379390
},
380391
PrimTy(_) | SelfTy(_, _) => Some(&mut self.type_map),
381392
SelfCtor(_) | Local(_) => Some(&mut self.value_map),

0 commit comments

Comments
 (0)