diff --git a/borsh-derive/src/internals/generics.rs b/borsh-derive/src/internals/generics.rs index 72080f206..7914b3b00 100644 --- a/borsh-derive/src/internals/generics.rs +++ b/borsh-derive/src/internals/generics.rs @@ -259,7 +259,9 @@ impl FindTyParams { )] match bound { TypeParamBound::Trait(bound) => self.visit_path(&bound.path), - TypeParamBound::Lifetime(_) | TypeParamBound::Verbatim(_) => {} + TypeParamBound::Lifetime(_) + | TypeParamBound::Verbatim(_) + | TypeParamBound::PreciseCapture(_) => {} _ => {} } }