remove clone of scope.ident_ids

This commit is contained in:
Folkert 2022-04-28 23:27:46 +02:00
parent 6dc07c6ea4
commit 99340e314c
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
3 changed files with 2 additions and 8 deletions

View file

@ -47,7 +47,6 @@ pub struct ModuleOutput {
pub exposed_imports: MutMap<Symbol, Variable>,
pub lookups: Vec<(Symbol, Variable, Region)>,
pub problems: Vec<Problem>,
pub ident_ids: IdentIds,
pub referenced_values: VecSet<Symbol>,
pub referenced_types: VecSet<Symbol>,
pub scope: Scope,
@ -533,8 +532,6 @@ pub fn canonicalize_module_defs<'a>(
}
}
let ident_ids = scope.ident_ids.clone();
let output = ModuleOutput {
scope,
aliases,
@ -545,7 +542,6 @@ pub fn canonicalize_module_defs<'a>(
exposed_imports: can_exposed_imports,
problems: env.problems,
lookups,
ident_ids,
};
Ok(output)