diff options
author | Aleksey Kladov <[email protected]> | 2020-06-30 12:03:08 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-06-30 12:03:08 +0100 |
commit | 4484908a867fc742104d6ffe63b865a411203276 (patch) | |
tree | 048d7019112e588f4416ed88070f59ae46564d75 /crates/ra_db/src | |
parent | d34e725f09994af145884464942dd205bfc7717e (diff) |
Rewrite goto definition tests
Diffstat (limited to 'crates/ra_db/src')
-rw-r--r-- | crates/ra_db/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_db/src/lib.rs b/crates/ra_db/src/lib.rs index 4a3ba57da..1ddacc1f6 100644 --- a/crates/ra_db/src/lib.rs +++ b/crates/ra_db/src/lib.rs | |||
@@ -80,7 +80,7 @@ pub struct FilePosition { | |||
80 | pub offset: TextSize, | 80 | pub offset: TextSize, |
81 | } | 81 | } |
82 | 82 | ||
83 | #[derive(Clone, Copy, Debug)] | 83 | #[derive(Clone, Copy, Debug, Eq, PartialEq)] |
84 | pub struct FileRange { | 84 | pub struct FileRange { |
85 | pub file_id: FileId, | 85 | pub file_id: FileId, |
86 | pub range: TextRange, | 86 | pub range: TextRange, |