mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Fix coercion in match with expected type
Plus add infrastructure to test type mismatches without expect.
This commit is contained in:
parent
124123a53b
commit
20487a1b4a
6 changed files with 183 additions and 54 deletions
|
@ -42,7 +42,7 @@ pub struct FilePosition {
|
|||
pub offset: TextSize,
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
|
||||
#[derive(Clone, Copy, Debug, Eq, PartialEq, Hash)]
|
||||
pub struct FileRange {
|
||||
pub file_id: FileId,
|
||||
pub range: TextRange,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue