Skip to content

Commit 77861d6

Browse files
committed
fix: allow dead_code in LSP types and MCP params modules
Rust 1.93 on CI catches more dead_code than local toolchain. These structs are constructed via serde Deserialize which the compiler doesn't see as construction.
1 parent a2cfdd1 commit 77861d6

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/lsp/types.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// LSP 3.17 type definitions — hand-rolled subset
2+
#![allow(dead_code)]
23

34
use serde::{Deserialize, Serialize};
45

src/mcp/params.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// MCP tool parameter types
2+
#![allow(dead_code)]
23

34
use schemars::JsonSchema;
45
use serde::Deserialize;

0 commit comments

Comments
 (0)