Resolve visibility paths as modules not as types.
This commit is contained in:
parent
7a5d2d0138
commit
2faa2626cc
6 changed files with 27 additions and 7 deletions
|
@ -278,7 +278,7 @@ impl<'a, 'b, 'tcx> BuildReducedGraphVisitor<'a, 'b, 'tcx> {
|
|||
};
|
||||
match self.r.resolve_path(
|
||||
&segments,
|
||||
Some(TypeNS),
|
||||
None,
|
||||
parent_scope,
|
||||
finalize.then(|| Finalize::new(id, path.span)),
|
||||
None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue