mirror of
https://github.com/OMGeeky/tarpc.git
synced 2026-01-19 09:50:47 +01:00
Don't allow empty service invocations
This commit is contained in:
@@ -51,6 +51,9 @@ macro_rules! add_serde_if_enabled {
|
||||
///
|
||||
#[macro_export]
|
||||
macro_rules! service {
|
||||
() => {
|
||||
compile_error!("Must define at least one RPC method.");
|
||||
};
|
||||
// Entry point
|
||||
(
|
||||
$(
|
||||
|
||||
Reference in New Issue
Block a user