mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 22:09:09 +00:00
Fought against clippy and lost
This commit is contained in:
parent
7d908dc99c
commit
17e7b10267
3 changed files with 14 additions and 9 deletions
|
@ -722,7 +722,7 @@ pub fn constrain_expr(
|
|||
pattern_cons.push(expr_con);
|
||||
|
||||
// Now check the condition against the type expected by the branches.
|
||||
let sketched_rows = sketch_rows(real_cond_var, branches_region, &branches);
|
||||
let sketched_rows = sketch_rows(real_cond_var, branches_region, branches);
|
||||
let cond_matches_branches_constraint = constraints.exhaustive(
|
||||
real_cond_var,
|
||||
loc_cond.region,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue