diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-01-10 21:40:57 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-01-10 21:40:57 +0000 |
commit | a9ba32e2e659dbbe78f7921f5b0abe7288c83aa9 (patch) | |
tree | fc742b1b41c72f8016329a243f0f5302d57bad85 /crates/ra_ide/src/lib.rs | |
parent | 19eb7fa1db7da8417314ddfafe7addbbd9c3b46a (diff) | |
parent | a633a6275ab823396f57b1e93d45e58d98f8d32f (diff) |
Merge #2749
2749: Basic DocumentHighlightKind support for assignments r=matklad a=kjeremy
Wraps references per #2738 and adds limited support for DocumentHighlightKind Read/Write for simple binops assignments.
I think I need some help with determining reads/writes.
Towards #2560
Co-authored-by: Jeremy Kolb <[email protected]>
Co-authored-by: kjeremy <[email protected]>
Diffstat (limited to 'crates/ra_ide/src/lib.rs')
-rw-r--r-- | crates/ra_ide/src/lib.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/crates/ra_ide/src/lib.rs b/crates/ra_ide/src/lib.rs index 7b187eba3..4d8deb21c 100644 --- a/crates/ra_ide/src/lib.rs +++ b/crates/ra_ide/src/lib.rs | |||
@@ -75,7 +75,9 @@ pub use crate::{ | |||
75 | inlay_hints::{InlayHint, InlayKind}, | 75 | inlay_hints::{InlayHint, InlayKind}, |
76 | line_index::{LineCol, LineIndex}, | 76 | line_index::{LineCol, LineIndex}, |
77 | line_index_utils::translate_offset_with_edit, | 77 | line_index_utils::translate_offset_with_edit, |
78 | references::{Reference, ReferenceKind, ReferenceSearchResult, SearchScope}, | 78 | references::{ |
79 | Declaration, Reference, ReferenceAccess, ReferenceKind, ReferenceSearchResult, SearchScope, | ||
80 | }, | ||
79 | runnables::{Runnable, RunnableKind}, | 81 | runnables::{Runnable, RunnableKind}, |
80 | source_change::{FileSystemEdit, SourceChange, SourceFileEdit}, | 82 | source_change::{FileSystemEdit, SourceChange, SourceFileEdit}, |
81 | syntax_highlighting::HighlightedRange, | 83 | syntax_highlighting::HighlightedRange, |