Clarify error message

This commit is contained in:
Tim Kuehn
2016-01-17 19:47:48 -08:00
parent a5a9ec3d4f
commit f92277e019

View File

@@ -26,7 +26,7 @@ macro_rules! client_stubs {
if let __Reply::$fn_name(reply) = reply {
Ok(reply)
} else {
panic!("Unexpected reply to {}: {:?}", stringify!($fn_name), reply);
panic!("Incorrect reply variant returned from protocol::Clientrpc; expected `{}`, but got {:?}", stringify!($fn_name), reply);
}
}
)*);