resolve: Turn enum Finalize
into an optional struct
This commit is contained in:
parent
637b3f6807
commit
900607f49a
8 changed files with 59 additions and 92 deletions
|
@ -673,7 +673,7 @@ impl<'a> Resolver<'a> {
|
|||
&path,
|
||||
Some(MacroNS),
|
||||
&parent_scope,
|
||||
Finalize::SimplePath(ast::CRATE_NODE_ID, path_span),
|
||||
Some(Finalize::new(ast::CRATE_NODE_ID, path_span)),
|
||||
None,
|
||||
) {
|
||||
PathResult::NonModule(path_res) if path_res.unresolved_segments() == 0 => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue