about summary refs log tree commit diff
path: root/src/test/compile-fail/drop-on-non-struct.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/drop-on-non-struct.rs')
-rw-r--r--src/test/compile-fail/drop-on-non-struct.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/drop-on-non-struct.rs b/src/test/compile-fail/drop-on-non-struct.rs
index 69880272350..4e5b64c8f3d 100644
--- a/src/test/compile-fail/drop-on-non-struct.rs
+++ b/src/test/compile-fail/drop-on-non-struct.rs
@@ -10,7 +10,7 @@
 
 type Foo = @[u8];
 
-impl Foo : Drop {   //~ ERROR the Drop trait may only be implemented
+impl Drop for Foo {   //~ ERROR the Drop trait may only be implemented
 //~^ ERROR cannot provide an extension implementation
     fn finalize(&self) {
         io::println("kaboom");