s/occurence/occurrence/g

This commit is contained in:
ayazhafiz 2022-03-14 17:50:55 -05:00
parent 8810a48a52
commit 787c8ee3a5
5 changed files with 8 additions and 8 deletions

View file

@ -325,7 +325,7 @@ pub fn canonicalize_defs<'a>(
} = can_ann.introduced_variables;
let num_unbound = var_by_name.len() + wildcards.len() + inferred.len();
if num_unbound > 0 {
let one_occurence = var_by_name
let one_occurrence = var_by_name
.iter()
.map(|(_, v)| v)
.chain(wildcards.iter())
@ -337,7 +337,7 @@ pub fn canonicalize_defs<'a>(
env.problems.push(Problem::UnboundTypeVariable {
typ: symbol,
num_unbound,
one_occurence,
one_occurrence,
});
// Bail out