Allow SSR to match type references, items, paths and patterns

Part of #3186
This commit is contained in:
David Lattimore
2020-06-17 16:53:51 +10:00
parent 3370c81525
commit 662ab2ecc8
10 changed files with 1480 additions and 555 deletions

View File

@@ -70,7 +70,6 @@ pub use crate::{
inlay_hints::{InlayHint, InlayHintsConfig, InlayKind},
references::{Declaration, Reference, ReferenceAccess, ReferenceKind, ReferenceSearchResult},
runnables::{Runnable, RunnableKind, TestId},
ssr::SsrError,
syntax_highlighting::{
Highlight, HighlightModifier, HighlightModifiers, HighlightTag, HighlightedRange,
},
@@ -89,6 +88,7 @@ pub use ra_ide_db::{
symbol_index::Query,
RootDatabase,
};
pub use ra_ssr::SsrError;
pub use ra_text_edit::{Indel, TextEdit};
pub type Cancelable<T> = Result<T, Canceled>;