From da9359707607f7b3cd744e8c1068c73dec09e8c6 Mon Sep 17 00:00:00 2001 From: Ameer Ghani Date: Mon, 18 Sep 2023 16:25:46 -0400 Subject: [PATCH] Add non_exhaustive to query type --- messages/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/messages/src/lib.rs b/messages/src/lib.rs index 301b0bdec..1421093df 100644 --- a/messages/src/lib.rs +++ b/messages/src/lib.rs @@ -2022,6 +2022,7 @@ pub mod query_type { /// DAP protocol message representing the type of a query. #[derive(Copy, Clone, Debug, PartialEq, Eq, TryFromPrimitive, Serialize, Deserialize)] #[repr(u8)] + #[non_exhaustive] pub enum Code { Reserved = 0, TimeInterval = 1,