mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 16:44:33 +00:00
clippy
This commit is contained in:
parent
36b41322f5
commit
14638aff35
5 changed files with 4 additions and 6 deletions
|
@ -1411,7 +1411,9 @@ fn constrain_destructure_def(
|
|||
|
||||
let destructure_def = &declarations.destructs[destructure_def_index.index()];
|
||||
let loc_pattern = &destructure_def.loc_pattern;
|
||||
let pattern_vars = &destructure_def.pattern_vars;
|
||||
|
||||
// TODO what is this for?
|
||||
// let pattern_vars = &destructure_def.pattern_vars;
|
||||
|
||||
let mut def_pattern_state =
|
||||
constrain_def_pattern(constraints, env, loc_pattern, Type::Variable(expr_var));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue