Skip to content

Commit 2815005

Browse files
committed
feat!: make protocol unions extensible
1 parent 4d23aa9 commit 2815005

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
@@ -3899,7 +3899,7 @@ macro_rules! ts_union {
38993899
#[derive(Debug, Serialize, Deserialize, Clone)]
39003900
#[serde(untagged)]
39013901
#[allow(clippy::large_enum_variant)]
3902-
#[expect(clippy::exhaustive_enums, reason = "intentionally exhaustive")]
3902+
#[non_exhaustive]
39033903
#[cfg_attr(feature = "schemars", derive(schemars::JsonSchema))]
39043904
pub enum $U {
39053905
$($declared)*

0 commit comments

Comments
 (0)