mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
Newtype ErasedFileAstId
This commit is contained in:
parent
fcb88832de
commit
188c577855
13 changed files with 52 additions and 39 deletions
|
@ -119,7 +119,7 @@ impl fmt::Display for RealSpanMap {
|
|||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
writeln!(f, "RealSpanMap({:?}):", self.file_id)?;
|
||||
for span in self.pairs.iter() {
|
||||
writeln!(f, "{}: {}", u32::from(span.0), span.1.into_raw().into_u32())?;
|
||||
writeln!(f, "{}: {}", u32::from(span.0), span.1.into_raw())?;
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue