diff options
Diffstat (limited to 'src/test/compile-fail/record-with-resource.rs')
| -rw-r--r-- | src/test/compile-fail/record-with-resource.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/record-with-resource.rs b/src/test/compile-fail/record-with-resource.rs index 3540f03e800..e194f73c753 100644 --- a/src/test/compile-fail/record-with-resource.rs +++ b/src/test/compile-fail/record-with-resource.rs @@ -9,7 +9,7 @@ struct my_resource { fn main() { { let a = {x: 0, y: my_resource(20)}; - let b = {x: 2 with a}; + let b = {x: 2,.. a}; log(error, (a, b)); } } |
