Update outdated comment
This commit is contained in:
parent
b01e63009f
commit
1e134a47d3
@ -664,8 +664,8 @@ impl<'a, 'b:'a, 'tcx:'b> ImportResolver<'a, 'b, 'tcx> {
|
|||||||
return Success(());
|
return Success(());
|
||||||
}
|
}
|
||||||
|
|
||||||
// Miscellaneous post-processing, including recording reexports, recording shadowed traits,
|
// Miscellaneous post-processing, including recording reexports, reporting conflicts,
|
||||||
// reporting conflicts, reporting the PRIVATE_IN_PUBLIC lint, and reporting unresolved imports.
|
// reporting the PRIVATE_IN_PUBLIC lint, and reporting unresolved imports.
|
||||||
fn finalize_resolutions_in(&mut self, module: Module<'b>, report_unresolved_imports: bool) {
|
fn finalize_resolutions_in(&mut self, module: Module<'b>, report_unresolved_imports: bool) {
|
||||||
// Since import resolution is finished, globs will not define any more names.
|
// Since import resolution is finished, globs will not define any more names.
|
||||||
*module.globs.borrow_mut() = Vec::new();
|
*module.globs.borrow_mut() = Vec::new();
|
||||||
|
Loading…
Reference in New Issue
Block a user