summaryrefslogtreecommitdiff
path: root/tests/features/test_smart_derive.zc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/features/test_smart_derive.zc')
-rw-r--r--tests/features/test_smart_derive.zc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/features/test_smart_derive.zc b/tests/features/test_smart_derive.zc
index 705a12f..b005080 100644
--- a/tests/features/test_smart_derive.zc
+++ b/tests/features/test_smart_derive.zc
@@ -6,8 +6,8 @@ struct Container {
// Ensure derived eq uses pointers by trying to use 'c2' after comparison
test "eq_moves" {
- var c1 = Container { val: 10 };
- var c2 = Container { val: 10 };
+ let c1 = Container { val: 10 };
+ let c2 = Container { val: 10 };
// This should call Container__eq(&c1, &c2)
// If it passed by value, c2 would be moved here