summaryrefslogtreecommitdiff
path: root/crates/tor-rtmock
diff options
context:
space:
mode:
Diffstat (limited to 'crates/tor-rtmock')
-rw-r--r--crates/tor-rtmock/src/lib.rs1
-rw-r--r--crates/tor-rtmock/src/util.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/crates/tor-rtmock/src/lib.rs b/crates/tor-rtmock/src/lib.rs
index c460d48bc..7d62bae9b 100644
--- a/crates/tor-rtmock/src/lib.rs
+++ b/crates/tor-rtmock/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-rtmock/src/util.rs b/crates/tor-rtmock/src/util.rs
index a7871788f..cc7be1b71 100644
--- a/crates/tor-rtmock/src/util.rs
+++ b/crates/tor-rtmock/src/util.rs
@@ -155,6 +155,7 @@ define_derive_deftly! {
)
// TODO this wants to be assert_impl but it fails at generics
+ #[allow(unused)]
const _: fn() = || {
fn x(_: impl Runtime) { }
fn check_impl_runtime<$tgens>(t: $ttype) { x(t) }