1
Fork 0

Encode index of SourceFile along with span.

This commit is contained in:
Camille GILLOT 2022-08-06 22:33:06 +02:00
parent 55f46419af
commit f20ceb1c6f
5 changed files with 65 additions and 69 deletions

View file

@ -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,
},
}