aboutsummaryrefslogtreecommitdiff
path: root/crates/base_db/src/lib.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-06-12 22:05:12 +0100
committerGitHub <[email protected]>2021-06-12 22:05:12 +0100
commitd6737e55fb49d286b5e646f57975b27b2c95ce92 (patch)
tree8d79fe8e63f8154e2e331660442aee83d99904a4 /crates/base_db/src/lib.rs
parent7bbb3e34d5e2ca25b6987bf679cb9962bd0c52b6 (diff)
parent20487a1b4a7c2fdffdb1de61c7837ee6f673f21a (diff)
Merge #9239
9239: fix: Fix coercion in match with expected type r=flodiebold a=flodiebold Plus add infrastructure to test type mismatches without expect. CC #8961 Co-authored-by: Florian Diebold <[email protected]>
Diffstat (limited to 'crates/base_db/src/lib.rs')
-rw-r--r--crates/base_db/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/base_db/src/lib.rs b/crates/base_db/src/lib.rs
index 54baa3a63..d26f8f180 100644
--- a/crates/base_db/src/lib.rs
+++ b/crates/base_db/src/lib.rs
@@ -42,7 +42,7 @@ pub struct FilePosition {
42 pub offset: TextSize, 42 pub offset: TextSize,
43} 43}
44 44
45#[derive(Clone, Copy, Debug, Eq, PartialEq)] 45#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
46pub struct FileRange { 46pub struct FileRange {
47 pub file_id: FileId, 47 pub file_id: FileId,
48 pub range: TextRange, 48 pub range: TextRange,