We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
with_dummy_span
1 parent fdd2523 commit 050c8c8Copy full SHA for 050c8c8
src/librustc/hir/map/definitions.rs
@@ -541,7 +541,7 @@ impl DefPathData {
541
ValueNs(name) => ValueNs(Ident::with_dummy_span(name.name)),
542
MacroNs(name) => MacroNs(Ident::with_dummy_span(name.name)),
543
LifetimeNs(name) => LifetimeNs(Ident::with_dummy_span(name.name)),
544
- _ => *self,
+ CrateRoot | Misc | Impl | ClosureExpr | Ctor | AnonConst | ImplTrait => *self,
545
}
546
547
0 commit comments