about summary refs log tree commit diff
path: root/src/test/compile-fail/assign-to-method.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/compile-fail/assign-to-method.rs')
-rw-r--r--src/test/compile-fail/assign-to-method.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/compile-fail/assign-to-method.rs b/src/test/compile-fail/assign-to-method.rs
index 42781866f9a..0208b745d49 100644
--- a/src/test/compile-fail/assign-to-method.rs
+++ b/src/test/compile-fail/assign-to-method.rs
@@ -11,5 +11,5 @@ struct cat {
 
 fn main() {
   let nyan : cat = cat(52u, 99);
-  nyan.speak = fn@() { debug!{"meow"}; }; //~ ERROR attempted to take value of method
+  nyan.speak = fn@() { debug!("meow"); }; //~ ERROR attempted to take value of method
 }