Skip to content

Commit 9b9e33a

Browse files
committed
feat!: make protocol unions extensible
1 parent 9bbf0bd commit 9b9e33a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

crates/rmcp/src/model.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3906,7 +3906,7 @@ macro_rules! ts_union {
39063906
#[derive(Debug, Serialize, Deserialize, Clone)]
39073907
#[serde(untagged)]
39083908
#[allow(clippy::large_enum_variant)]
3909-
#[expect(clippy::exhaustive_enums, reason = "intentionally exhaustive")]
3909+
#[non_exhaustive]
39103910
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
39113911
pub enum $U {
39123912
$($declared)*

0 commit comments

Comments
 (0)