mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
Clippy
This commit is contained in:
parent
4049eb6780
commit
7a4c57d3dc
2 changed files with 8 additions and 5 deletions
|
@ -945,8 +945,8 @@ fn solve(
|
|||
awaiting_specialization,
|
||||
} = compact_lambda_sets_of_vars(
|
||||
subs,
|
||||
&derived_env,
|
||||
&arena,
|
||||
derived_env,
|
||||
arena,
|
||||
pools,
|
||||
lambda_sets_to_specialize,
|
||||
&SolvePhase { abilities_store },
|
||||
|
@ -1593,6 +1593,7 @@ fn solve(
|
|||
state
|
||||
}
|
||||
|
||||
#[allow(clippy::too_many_arguments)]
|
||||
fn compact_lambdas_and_check_obligations(
|
||||
arena: &Bump,
|
||||
pools: &mut Pools,
|
||||
|
@ -1609,8 +1610,8 @@ fn compact_lambdas_and_check_obligations(
|
|||
awaiting_specialization: new_awaiting,
|
||||
} = compact_lambda_sets_of_vars(
|
||||
subs,
|
||||
&derived_env,
|
||||
&arena,
|
||||
derived_env,
|
||||
arena,
|
||||
pools,
|
||||
lambda_sets_to_specialize,
|
||||
&SolvePhase { abilities_store },
|
||||
|
|
|
@ -8,7 +8,9 @@ use roc_can::{
|
|||
module::ExposedByModule,
|
||||
};
|
||||
use roc_collections::{VecMap, VecSet};
|
||||
use roc_debug_flags::{dbg_do, ROC_TRACE_COMPACTION};
|
||||
use roc_debug_flags::dbg_do;
|
||||
#[cfg(debug_assertions)]
|
||||
use roc_debug_flags::ROC_TRACE_COMPACTION;
|
||||
use roc_derive::SharedDerivedModule;
|
||||
use roc_derive_key::{DeriveError, DeriveKey};
|
||||
use roc_error_macros::{internal_error, todo_abilities};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue