Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 46c395d

Browse files
committed
Auto merge of rust-lang#15806 - gigaroby:master, r=lnicola
internal: scip: update crate to version 0.3.1. While the git repo has been updated constantly, crates.io has only now been updated after more than a year of activity.
2 parents 2f6961a + 99ec3aa commit 46c395d

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/rust-analyzer/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ anyhow = "1.0.62"
2323
crossbeam-channel = "0.5.5"
2424
dissimilar = "1.0.4"
2525
itertools = "0.10.5"
26-
scip = "0.1.1"
26+
scip = "0.3.1"
2727
lsp-types = { version = "=0.94.0", features = ["proposed"] }
2828
parking_lot = "0.12.1"
2929
xflags = "0.3.0"

crates/rust-analyzer/src/cli/scip.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@ impl flags::Scip {
133133
documentation: documentation.unwrap_or_default(),
134134
relationships: Vec::new(),
135135
special_fields: Default::default(),
136+
kind: Default::default(),
137+
display_name: String::new(),
138+
signature_documentation: Default::default(),
139+
enclosing_symbol: String::new(),
136140
};
137141

138142
symbols.push(symbol_info)
@@ -147,6 +151,7 @@ impl flags::Scip {
147151
syntax_kind: Default::default(),
148152
diagnostics: Vec::new(),
149153
special_fields: Default::default(),
154+
enclosing_range: Vec::new(),
150155
});
151156
});
152157

@@ -160,6 +165,7 @@ impl flags::Scip {
160165
occurrences,
161166
symbols,
162167
special_fields: Default::default(),
168+
text: String::new(),
163169
});
164170
}
165171

0 commit comments

Comments
 (0)