Skip to content

Commit

Permalink
Auto merge of #15806 - gigaroby:master, r=lnicola
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Oct 26, 2023
2 parents 2f6961a + 99ec3aa commit 46c395d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
12 changes: 6 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/rust-analyzer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ anyhow = "1.0.62"
crossbeam-channel = "0.5.5"
dissimilar = "1.0.4"
itertools = "0.10.5"
scip = "0.1.1"
scip = "0.3.1"
lsp-types = { version = "=0.94.0", features = ["proposed"] }
parking_lot = "0.12.1"
xflags = "0.3.0"
Expand Down
6 changes: 6 additions & 0 deletions crates/rust-analyzer/src/cli/scip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ impl flags::Scip {
documentation: documentation.unwrap_or_default(),
relationships: Vec::new(),
special_fields: Default::default(),
kind: Default::default(),
display_name: String::new(),
signature_documentation: Default::default(),
enclosing_symbol: String::new(),
};

symbols.push(symbol_info)
Expand All @@ -147,6 +151,7 @@ impl flags::Scip {
syntax_kind: Default::default(),
diagnostics: Vec::new(),
special_fields: Default::default(),
enclosing_range: Vec::new(),
});
});

Expand All @@ -160,6 +165,7 @@ impl flags::Scip {
occurrences,
symbols,
special_fields: Default::default(),
text: String::new(),
});
}

Expand Down

0 comments on commit 46c395d

Please sign in to comment.