mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
Fix clippy warning
This commit is contained in:
parent
39b0857049
commit
cf628ed4ef
1 changed files with 1 additions and 1 deletions
|
@ -194,7 +194,7 @@ pub fn canonicalize_pattern<'a>(
|
|||
// If this opaque ref had an argument, we would be in the "Apply" branch.
|
||||
let loc_name = Loc::at(region, (*name).into());
|
||||
env.problem(Problem::RuntimeError(RuntimeError::OpaqueNotApplied(
|
||||
loc_name.clone(),
|
||||
loc_name,
|
||||
)));
|
||||
Pattern::UnsupportedPattern(region)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue