Skip to content

Commit 905d738

Browse files
committed
StableSourceFileId::new_from_pieces does not need to be public.
(and I want to discourage further use of it if possible.)
1 parent 0e9e408 commit 905d738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_span/source_map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ impl StableSourceFileId {
9595
)
9696
}
9797

98-
pub fn new_from_pieces(
98+
fn new_from_pieces(
9999
name: &FileName,
100100
name_was_remapped: bool,
101101
unmapped_path: Option<&FileName>,

0 commit comments

Comments
 (0)