diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-08-09 01:38:34 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-09 01:38:34 +0200 |
| commit | c9dd9309f2bc3a6885ab599ea2c771c85fc9346b (patch) | |
| tree | be0c226a69dae1151bbd80495061416c6573276b /src/libsyntax | |
| parent | 432b55e4579972fe3d157b552b8aa18a9c04ff04 (diff) | |
| parent | 06701a8dafa13a161fe552dae119e9282c71bd0a (diff) | |
| download | rust-c9dd9309f2bc3a6885ab599ea2c771c85fc9346b.tar.gz rust-c9dd9309f2bc3a6885ab599ea2c771c85fc9346b.zip | |
Rollup merge of #63381 - matklad:reduce-visibility, r=Centril
reduce visibility r? @petrochenkov
Diffstat (limited to 'src/libsyntax')
| -rw-r--r-- | src/libsyntax/source_map.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/source_map.rs b/src/libsyntax/source_map.rs index f83c1dbf7ee..4e29c77c89e 100644 --- a/src/libsyntax/source_map.rs +++ b/src/libsyntax/source_map.rs @@ -125,12 +125,12 @@ impl StableSourceFileId { #[derive(Default)] pub(super) struct SourceMapFiles { - pub(super) source_files: Vec<Lrc<SourceFile>>, + source_files: Vec<Lrc<SourceFile>>, stable_id_to_source_file: FxHashMap<StableSourceFileId, Lrc<SourceFile>> } pub struct SourceMap { - pub(super) files: Lock<SourceMapFiles>, + files: Lock<SourceMapFiles>, file_loader: Box<dyn FileLoader + Sync + Send>, // This is used to apply the file path remapping as specified via // --remap-path-prefix to all SourceFiles allocated within this SourceMap. |
