Only encode position from start of file.
This commit is contained in:
parent
16ba778c12
commit
bacb4db48c
4 changed files with 22 additions and 30 deletions
|
@ -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,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue