Unnamed repository; edit this file 'description' to name the repository.
Backwards compatible CompletionImport#as_underscore
Petr Novotnik 13 days ago
parent cd24e6e · commit 6d82138
-rw-r--r--crates/rust-analyzer/src/lsp/ext.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/rust-analyzer/src/lsp/ext.rs b/crates/rust-analyzer/src/lsp/ext.rs
index 5d0d9209de..91e065251d 100644
--- a/crates/rust-analyzer/src/lsp/ext.rs
+++ b/crates/rust-analyzer/src/lsp/ext.rs
@@ -858,6 +858,7 @@ pub struct InlayHintResolveData {
#[derive(Debug, Serialize, Deserialize)]
pub struct CompletionImport {
pub full_import_path: String,
+ #[serde(default)]
pub as_underscore: bool,
}