diff --git a/compiler-core/src/ast.rs b/compiler-core/src/ast.rs index e878a63fc2f..da6d5d79096 100644 --- a/compiler-core/src/ast.rs +++ b/compiler-core/src/ast.rs @@ -1336,7 +1336,7 @@ impl UntypedRecordUpdateArg { impl HasLocation for UntypedRecordUpdateArg { fn location(&self) -> SrcSpan { - self.location.clone() + self.location } }