mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
clippy
This commit is contained in:
parent
2fc9d20867
commit
9d10b060da
2 changed files with 3 additions and 7 deletions
|
@ -723,11 +723,7 @@ pub fn canonicalize_expr<'a>(
|
|||
ast::Expr::PrecedenceConflict(whole_region, binop1, binop2, _expr) => {
|
||||
use roc_problem::can::RuntimeError::*;
|
||||
|
||||
let problem = PrecedenceProblem::BothNonAssociative(
|
||||
*whole_region,
|
||||
binop1.clone(),
|
||||
binop2.clone(),
|
||||
);
|
||||
let problem = PrecedenceProblem::BothNonAssociative(*whole_region, *binop1, *binop2);
|
||||
|
||||
env.problem(Problem::PrecedenceProblem(problem.clone()));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue