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:
Inokentiy Babushkin 2017-06-10 16:09:51 +02:00
parent 3d2cff0c94
commit dd8f7cd126
No known key found for this signature in database
GPG key ID: 7EFC8EC5224DE8EC
4 changed files with 42 additions and 27 deletions

1
src/Cargo.lock generated
View file

@ -1682,6 +1682,7 @@ dependencies = [
name = "syntax_pos"
version = "0.0.0"
dependencies = [
"rustc_data_structures 0.0.0",
"serialize 0.0.0",
]