Encode index of SourceFile along with span.
This commit is contained in:
parent
55f46419af
commit
f20ceb1c6f
5 changed files with 65 additions and 69 deletions
|
@ -1098,6 +1098,8 @@ pub enum ExternalSource {
|
|||
original_start_pos: BytePos,
|
||||
/// The end of this SourceFile within the source_map of its original crate.
|
||||
original_end_pos: BytePos,
|
||||
/// Index of the file inside metadata.
|
||||
metadata_index: u32,
|
||||
},
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue