From f87ddac4a58802e960d6e80a97a917989773b60b Mon Sep 17 00:00:00 2001 From: Oli Scherer Date: Tue, 23 Jan 2024 14:17:46 +0000 Subject: [PATCH] Fix jsondoclint tool --- src/tools/jsondoclint/src/validator.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tools/jsondoclint/src/validator.rs b/src/tools/jsondoclint/src/validator.rs index 592e97310a4f4..716eb751f44a3 100644 --- a/src/tools/jsondoclint/src/validator.rs +++ b/src/tools/jsondoclint/src/validator.rs @@ -262,6 +262,7 @@ impl<'a> Validator<'a> { Type::DynTrait(dyn_trait) => self.check_dyn_trait(dyn_trait), Type::Generic(_) => {} Type::Primitive(_) => {} + Type::Pat { type_, pat: _ } => self.check_type(type_), Type::FunctionPointer(fp) => self.check_function_pointer(&**fp), Type::Tuple(tys) => tys.iter().for_each(|ty| self.check_type(ty)), Type::Slice(inner) => self.check_type(&**inner),