diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2024-04-24 12:00:27 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2024-04-25 15:22:32 +0100 |
commit | d5a3b832b902d8cfa21d8f1c5721f0070fe3fd53 (patch) | |
tree | 5ce80f5876aa3fa7355109465a66fb6219ddd9de | |
parent | 27475324480a9a878db578dee5ec7a83db874ef2 (diff) | |
download | arti-d5a3b832b902d8cfa21d8f1c5721f0070fe3fd53.tar.gz arti-d5a3b832b902d8cfa21d8f1c5721f0070fe3fd53.zip |
Add a dead code allow in RPC code
-rw-r--r-- | crates/arti-rpcserver/src/connection/auth.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/arti-rpcserver/src/connection/auth.rs b/crates/arti-rpcserver/src/connection/auth.rs index bcbd60458..bc807e566 100644 --- a/crates/arti-rpcserver/src/connection/auth.rs +++ b/crates/arti-rpcserver/src/connection/auth.rs @@ -155,6 +155,7 @@ impl rpc::Method for Authenticate { /// An error during authentication. #[derive(Debug, Clone, thiserror::Error, serde::Serialize)] +#[allow(dead_code)] // TODO RPC enum AuthenticationFailure {} impl tor_error::HasKind for AuthenticationFailure { |