mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
Deduplicate Edition enum
This commit is contained in:
parent
e7852803c5
commit
9c75e9fa7d
8 changed files with 65 additions and 62 deletions
|
@ -4,11 +4,11 @@
|
|||
use std::{fmt, hash::Hash};
|
||||
|
||||
use stdx::{always, itertools::Itertools};
|
||||
use syntax::{TextRange, TextSize};
|
||||
use vfs::FileId;
|
||||
|
||||
use crate::{
|
||||
ErasedFileAstId, Span, SpanAnchor, SpanData, SyntaxContextId, ROOT_ERASED_FILE_AST_ID,
|
||||
ErasedFileAstId, Span, SpanAnchor, SpanData, SyntaxContextId, TextRange, TextSize,
|
||||
ROOT_ERASED_FILE_AST_ID,
|
||||
};
|
||||
|
||||
/// Maps absolute text ranges for the corresponding file to the relevant span data.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue