We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2903fa9 + 9eef88e commit 81c26e0Copy full SHA for 81c26e0
src/mapping.rs
@@ -376,6 +376,17 @@ impl NameMapping {
376
AssocFn |
377
AssocConst => Some(&mut self.value_map),
378
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,
390
},
391
PrimTy(_) | SelfTy(_, _) => Some(&mut self.type_map),
392
SelfCtor(_) | Local(_) => Some(&mut self.value_map),
0 commit comments