1
Fork 0

Only encode position from start of file.

This commit is contained in:
Camille GILLOT 2022-08-07 12:27:38 +02:00
parent 16ba778c12
commit bacb4db48c
4 changed files with 22 additions and 30 deletions

View file

@ -1094,10 +1094,6 @@ pub enum ExternalSource {
Unneeded,
Foreign {
kind: ExternalSourceKind,
/// This SourceFile's byte-offset within the source_map of its original crate.
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,
},