Skip to content

Commit 662ab2e

Browse files
Allow SSR to match type references, items, paths and patterns
Part of #3186
1 parent 3370c81 commit 662ab2e

File tree

10 files changed

+1480
-555
lines changed

10 files changed

+1480
-555
lines changed

Cargo.lock

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

crates/ra_ide/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ ra_fmt = { path = "../ra_fmt" }
2929
ra_prof = { path = "../ra_prof" }
3030
test_utils = { path = "../test_utils" }
3131
ra_assists = { path = "../ra_assists" }
32+
ra_ssr = { path = "../ra_ssr" }
3233

3334
# ra_ide should depend only on the top-level `hir` package. if you need
3435
# something from some `hir_xxx` subpackage, reexport the API via `hir`.

crates/ra_ide/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ pub use crate::{
7070
inlay_hints::{InlayHint, InlayHintsConfig, InlayKind},
7171
references::{Declaration, Reference, ReferenceAccess, ReferenceKind, ReferenceSearchResult},
7272
runnables::{Runnable, RunnableKind, TestId},
73-
ssr::SsrError,
7473
syntax_highlighting::{
7574
Highlight, HighlightModifier, HighlightModifiers, HighlightTag, HighlightedRange,
7675
},
@@ -89,6 +88,7 @@ pub use ra_ide_db::{
8988
symbol_index::Query,
9089
RootDatabase,
9190
};
91+
pub use ra_ssr::SsrError;
9292
pub use ra_text_edit::{Indel, TextEdit};
9393

9494
pub type Cancelable<T> = Result<T, Canceled>;

0 commit comments

Comments
 (0)