Closed
Description
I just got this error message:
../src/test/compile-fail/assign-to-method.rs:30:8: 30:13 error: attempted to take value of method `speak` on type `cat`
../src/test/compile-fail/assign-to-method.rs:30 nyan.speak = || println!("meow"); //~ ERROR attempted to take value of method
^~~~~
../src/test/compile-fail/assign-to-method.rs:30:8: 30:13 help: maybe a `()` to call it is missing? If not, try an anonymous function
I don't know what "if not, try an anonymous function" means. What about an anonymous function am I supposed to try? Can we remove this help?