This commit is contained in:
Ayaz Hafiz 2022-07-12 15:44:41 -04:00
parent 76f7843c93
commit fe63140047
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
3 changed files with 4 additions and 1 deletions

View file

@ -164,6 +164,7 @@ impl Phase for LatePhase<'_> {
/// Unifies two variables and performs lambda set compaction.
/// Ranks and other ability demands are disregarded.
#[allow(clippy::too_many_arguments)]
pub fn unify(
home: ModuleId,
arena: &Bump,

View file

@ -1358,7 +1358,7 @@ impl<'a, 'i> Env<'a, 'i> {
self.subs,
&self.abilities,
self.derived_module,
&self.exposed_by_module,
self.exposed_by_module,
left,
right,
)

View file

@ -2037,6 +2037,7 @@ pub fn compact_lambda_sets_of_vars<P: Phase>(
}
#[must_use]
#[allow(clippy::too_many_arguments)]
fn compact_lambda_set<P: Phase>(
subs: &mut Subs,
derived_module: &SharedDerivedModule,
@ -2191,6 +2192,7 @@ fn make_specialization_decision(subs: &Subs, var: Variable) -> SpecializeDecisio
}
}
#[allow(clippy::too_many_arguments)]
fn get_specialization_lambda_set_ambient_function<P: Phase>(
subs: &mut Subs,
derived_module: &SharedDerivedModule,