diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-09-04 13:29:32 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-09-04 15:47:04 -0700 |
| commit | 200959d7cef647b34e1d7cf7f4ed2c28b65fc7dc (patch) | |
| tree | d2a2e790b95f73e30320d1e49b0566423ecb17a1 /src/test/compile-fail/record-with-resource.rs | |
| parent | ef880f22450c4f7e455f431ff4603f90d443b545 (diff) | |
| download | rust-200959d7cef647b34e1d7cf7f4ed2c28b65fc7dc.tar.gz rust-200959d7cef647b34e1d7cf7f4ed2c28b65fc7dc.zip | |
Remove 'with'
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)); } } |
