diff options
Diffstat (limited to 'crates/tor-hsservice/src')
| -rw-r--r-- | crates/tor-hsservice/src/lib.rs | 1 | ||||
| -rw-r--r-- | crates/tor-hsservice/src/time_store.rs | 5 |
2 files changed, 5 insertions, 1 deletions
diff --git a/crates/tor-hsservice/src/lib.rs b/crates/tor-hsservice/src/lib.rs index bc21d6cb8..511b2da96 100644 --- a/crates/tor-hsservice/src/lib.rs +++ b/crates/tor-hsservice/src/lib.rs @@ -41,6 +41,7 @@ #![allow(clippy::result_large_err)] // temporary workaround for arti#587 #![allow(clippy::needless_raw_string_hashes)] // complained-about code is fine, often best #![allow(clippy::needless_lifetimes)] // See arti#1765 +#![allow(mismatched_lifetime_syntaxes)] // temporary workaround for arti#2060 //! <!-- @@ end lint list maintained by maint/add_warning @@ --> // TODO #1645 (either remove this, or decide to have it everywhere) diff --git a/crates/tor-hsservice/src/time_store.rs b/crates/tor-hsservice/src/time_store.rs index 14ba5e7f1..31e4e77ce 100644 --- a/crates/tor-hsservice/src/time_store.rs +++ b/crates/tor-hsservice/src/time_store.rs @@ -161,7 +161,10 @@ define_derive_deftly! { s.parse().map_err(|e| E::custom(e)) } fn expecting(&self, f: &mut fmt::Formatter) -> fmt::Result { - write!(f, concat!("string representing ", stringify!($tname))) + #[allow(clippy::useless_concat)] // False positive + { + write!(f, concat!("string representing ", stringify!($tname))) + } } } } |
