1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
use rakka_macros::actor_msg; #[actor_msg] #[allow(dead_code)] enum MyMsg { A, B(u32), } #[test] fn attribute_adds_debug() { let v = MyMsg::B(7); let s = format!("{:?}", v); assert!(s.contains("B(7)")); }