mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-01 10:52:18 +00:00
Clippy
This commit is contained in:
parent
76f7843c93
commit
fe63140047
3 changed files with 4 additions and 1 deletions
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
)
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue