Skip to content

Commit 05b0612

Browse files
committed
Auto merge of rust-lang#15428 - Veykril:lsp-types-pin, r=Veykril
Fix pinned version of lsp-types lsp-types published a new patch version that breaks semver with the proposed feature set (this is intended and documented), we unfortunately forgot to specify the patch version for the pinned version so this breaks us.
2 parents b78d69c + 7e04142 commit 05b0612

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/hir-def/src/item_tree.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ impl UseTree {
794794
fn expand_impl(
795795
&self,
796796
prefix: Option<ModPath>,
797-
cb: &mut dyn FnMut(Idx<ast::UseTree>, ModPath, ImportKind, Option<ImportAlias>),
797+
cb: &mut impl FnMut(Idx<ast::UseTree>, ModPath, ImportKind, Option<ImportAlias>),
798798
) {
799799
fn concat_mod_paths(
800800
prefix: Option<ModPath>,

crates/rust-analyzer/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ crossbeam-channel = "0.5.5"
2424
dissimilar = "1.0.4"
2525
itertools = "0.10.5"
2626
scip = "0.1.1"
27-
lsp-types = { version = "=0.94", features = ["proposed"] }
27+
lsp-types = { version = "=0.94.0", features = ["proposed"] }
2828
parking_lot = "0.12.1"
2929
xflags = "0.3.0"
3030
oorandom = "11.1.3"

0 commit comments

Comments
 (0)