mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-30 03:27:44 +00:00
Add some more hir_expand::files conversions
This commit is contained in:
parent
e65dddaf59
commit
f0e39c77cc
6 changed files with 137 additions and 64 deletions
|
|
@ -112,7 +112,10 @@ pub struct EditionedFileId(u32);
|
|||
|
||||
impl fmt::Debug for EditionedFileId {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
f.debug_tuple("EditionedFileId").field(&self.file_id()).field(&self.edition()).finish()
|
||||
f.debug_tuple("EditionedFileId")
|
||||
.field(&self.file_id().index())
|
||||
.field(&self.edition())
|
||||
.finish()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue