Skip to content

Commit 9912484

Browse files
pnkfelixMark-Simulacrum
authored andcommitted
StableSourceFileId::new_from_pieces does not need to be public.
(and I want to discourage further use of it if possible.)
1 parent ccf97d6 commit 9912484

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_span/source_map.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ impl StableSourceFileId {
107107
)
108108
}
109109

110-
pub fn new_from_pieces(
110+
fn new_from_pieces(
111111
name: &FileName,
112112
name_was_remapped: bool,
113113
unmapped_path: Option<&FileName>,

0 commit comments

Comments
 (0)