aboutsummaryrefslogtreecommitdiff
path: root/src/syn_utils.rs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2021-11-20 08:00:12 +0100
committerMartin Fischer <martin@push-f.com>2021-11-20 08:00:44 +0100
commit2eca6efb508f7603b8408534471248f956de5f7d (patch)
treea7b28daf32cb9e5c22a3571ccd6d60fd04c184ef /src/syn_utils.rs
parent8d4c194edf32a0b94bf4eaaa562806e86cfc0d74 (diff)
ignore rustc warning about unused trait parameters
See https://github.com/rust-lang/rust/issues/91074.
Diffstat (limited to 'src/syn_utils.rs')
-rw-r--r--src/syn_utils.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/syn_utils.rs b/src/syn_utils.rs
index 61ae27f..a778793 100644
--- a/src/syn_utils.rs
+++ b/src/syn_utils.rs
@@ -3,6 +3,7 @@ use syn::{
Type, TypeParamBound,
};
+#[allow(unused_variables)]
pub trait TypeMatcher<T> {
fn match_type<'a>(&self, t: &'a Type) -> Option<&'a T> {
None