diff options
author | Lukas Wirth <[email protected]> | 2021-04-16 16:31:47 +0100 |
---|---|---|
committer | Lukas Wirth <[email protected]> | 2021-04-18 11:44:00 +0100 |
commit | c447a795abecbf9a4138778bab44197250b2dc4a (patch) | |
tree | c35a00f004f09c01f41714ca44e3a0a045a19ea1 /crates/rust-analyzer/src/diagnostics/to_proto.rs | |
parent | 75371eb0fa015ba8834ae2b66cda68eba5d83874 (diff) |
Prevent being able to rename items that are not part of the workspace
Diffstat (limited to 'crates/rust-analyzer/src/diagnostics/to_proto.rs')
-rw-r--r-- | crates/rust-analyzer/src/diagnostics/to_proto.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/rust-analyzer/src/diagnostics/to_proto.rs b/crates/rust-analyzer/src/diagnostics/to_proto.rs index e2f319f6b..ca18997e4 100644 --- a/crates/rust-analyzer/src/diagnostics/to_proto.rs +++ b/crates/rust-analyzer/src/diagnostics/to_proto.rs | |||
@@ -136,6 +136,7 @@ fn map_rust_child_diagnostic( | |||
136 | // FIXME: there's no good reason to use edit_map here.... | 136 | // FIXME: there's no good reason to use edit_map here.... |
137 | changes: Some(edit_map), | 137 | changes: Some(edit_map), |
138 | document_changes: None, | 138 | document_changes: None, |
139 | change_annotations: None, | ||
139 | }), | 140 | }), |
140 | is_preferred: Some(true), | 141 | is_preferred: Some(true), |
141 | data: None, | 142 | data: None, |