1 error[E0615]: attempted to take value of method `speak` on type `cat`
2 --> $DIR/assign-to-method.rs:30:8
4 LL | nyan.speak = || println!("meow"); //~ ERROR attempted to take value of method
7 = help: maybe a `()` to call it is missing?
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0615`.