aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/cargo/builder.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/cargo/builder.py')
-rw-r--r--mesonbuild/cargo/builder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/cargo/builder.py b/mesonbuild/cargo/builder.py
index 9c650b9..76d2e8b 100644
--- a/mesonbuild/cargo/builder.py
+++ b/mesonbuild/cargo/builder.py
@@ -172,7 +172,7 @@ def assign(value: mparser.BaseNode, varname: str, filename: str) -> mparser.Assi
:param filename: The filename
:return: An AssignmentNode
"""
- return mparser.AssignmentNode(filename, -1, -1, identifier(varname, filename), _symbol(filename, '='), value)
+ return mparser.AssignmentNode(identifier(varname, filename), _symbol(filename, '='), value)
def block(filename: str) -> mparser.CodeBlockNode: