Rename FileMap::path and change to an Option
This commit is contained in:
@@ -525,7 +525,7 @@ impl<'a> Parser<'a> {
|
||||
if let Some(directory) = directory {
|
||||
parser.directory = directory;
|
||||
} else if parser.span != syntax_pos::DUMMY_SP {
|
||||
parser.directory.path = sess.codemap().span_to_path(parser.span);
|
||||
parser.directory.path = sess.codemap().span_to_unmapped_path(parser.span);
|
||||
parser.directory.path.pop();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user