Skip to content

Commit ce0b7a9

Browse files
committed
feat!: make protocol unions extensible
1 parent 659e81c commit ce0b7a9

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
@@ -3915,7 +3915,7 @@ macro_rules! ts_union {
39153915
#[derive(Debug, Serialize, Deserialize, Clone)]
39163916
#[serde(untagged)]
39173917
#[allow(clippy::large_enum_variant)]
3918-
#[expect(clippy::exhaustive_enums, reason = "intentionally exhaustive")]
3918+
#[non_exhaustive]
39193919
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
39203920
pub enum $U {
39213921
$($declared)*

0 commit comments

Comments
 (0)