mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
Remove redundant reference
This commit is contained in:
parent
f745debc73
commit
cc125d62bc
1 changed files with 2 additions and 2 deletions
|
@ -1988,12 +1988,12 @@ fn report_unused_imported_modules<'a>(
|
|||
|
||||
for symbol in constrained_module.module.referenced_values.iter() {
|
||||
unused_imported_modules.remove(&symbol.module_id());
|
||||
unused_imports.remove(&symbol);
|
||||
unused_imports.remove(symbol);
|
||||
}
|
||||
|
||||
for symbol in constrained_module.module.referenced_types.iter() {
|
||||
unused_imported_modules.remove(&symbol.module_id());
|
||||
unused_imports.remove(&symbol);
|
||||
unused_imports.remove(symbol);
|
||||
}
|
||||
|
||||
let existing = match state.module_cache.can_problems.entry(module_id) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue