You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/tools/rust-analyzer/crates/rust-analyzer/src/lsp/ext.rs
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
1
//! rust-analyzer extensions to the LSP.
2
2
3
+
// Note when adding new resolve payloads, add a #[serde(default)] on boolean fields as some clients
4
+
// might strip `false` values from the JSON payload due to their reserialization logic turning false
5
+
// into null which will then cause them to be omitted in the resolve request. See https://github.com/rust-lang/rust-analyzer/issues/18767
0 commit comments