diff options
| author | Felix S. Klock II <pnkfelix@pnkfx.org> | 2020-05-29 11:47:17 -0400 |
|---|---|---|
| committer | Felix S. Klock II <pnkfelix@pnkfx.org> | 2020-05-29 23:34:20 -0400 |
| commit | 905d738b1af874e248b9fe7fe4b115458975d401 (patch) | |
| tree | af4581d3133239c73f994c8e44ecc394b2bfb078 | |
| parent | 0e9e4083100aa3ebf09b8f1ace0348cb37475eb9 (diff) | |
| download | rust-905d738b1af874e248b9fe7fe4b115458975d401.tar.gz rust-905d738b1af874e248b9fe7fe4b115458975d401.zip | |
`StableSourceFileId::new_from_pieces` does not need to be public.
(and I want to discourage further use of it if possible.)
| -rw-r--r-- | src/librustc_span/source_map.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_span/source_map.rs b/src/librustc_span/source_map.rs index 51f55417663..dc85f7990b9 100644 --- a/src/librustc_span/source_map.rs +++ b/src/librustc_span/source_map.rs @@ -95,7 +95,7 @@ impl StableSourceFileId { ) } - pub fn new_from_pieces( + fn new_from_pieces( name: &FileName, name_was_remapped: bool, unmapped_path: Option<&FileName>, |
