Fix coercion in match with expected type
Plus add infrastructure to test type mismatches without expect.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user