Make fns from other crates with RPITIT work
This commit is contained in:
parent
b535da6841
commit
a4e40370d0
3 changed files with 13 additions and 1 deletions
|
@ -404,8 +404,12 @@ impl DefPathData {
|
|||
match *self {
|
||||
TypeNs(name) | ValueNs(name) | MacroNs(name) | LifetimeNs(name) => Some(name),
|
||||
|
||||
// We use this name when collecting `ModChild`s.
|
||||
// FIXME this could probably be removed with some refactoring to the name resolver.
|
||||
ImplTraitAssocTy => Some(kw::Empty),
|
||||
|
||||
Impl | ForeignMod | CrateRoot | Use | GlobalAsm | ClosureExpr | Ctor | AnonConst
|
||||
| ImplTrait | ImplTraitAssocTy => None,
|
||||
| ImplTrait => None,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue