Moved FileMap construction to it's own constructor.
The rationale is that BOM stripping is needed for lazy source loading for external crates, and duplication can be avoided by moving the corresponding functionality to libsyntax_pos.
This commit is contained in:
parent
3d2cff0c94
commit
dd8f7cd126
4 changed files with 42 additions and 27 deletions
1
src/Cargo.lock
generated
1
src/Cargo.lock
generated
|
|
@ -1682,6 +1682,7 @@ dependencies = [
|
|||
name = "syntax_pos"
|
||||
version = "0.0.0"
|
||||
dependencies = [
|
||||
"rustc_data_structures 0.0.0",
|
||||
"serialize 0.0.0",
|
||||
]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue