diff options
Diffstat (limited to 'src/test/compile-fail/disallowed-deconstructing-destructing-struct.rs')
| -rw-r--r-- | src/test/compile-fail/disallowed-deconstructing-destructing-struct.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/disallowed-deconstructing-destructing-struct.rs b/src/test/compile-fail/disallowed-deconstructing-destructing-struct.rs index e4448f17a99..9019d338d09 100644 --- a/src/test/compile-fail/disallowed-deconstructing-destructing-struct.rs +++ b/src/test/compile-fail/disallowed-deconstructing-destructing-struct.rs @@ -12,7 +12,7 @@ struct X { x: ~str, } -impl X : Drop { +impl Drop for X { fn finalize(&self) { error!("value: %s", self.x); } |
