@@ -122,7 +122,7 @@ fn maybe_source_file_to_parser(
122122 source_file : Lrc < SourceFile > ,
123123) -> Result < Parser < ' _ > , Vec < Diag < ' _ > > > {
124124 let end_pos = source_file. end_position ( ) ;
125- let stream = maybe_file_to_stream ( psess, source_file, None ) ?;
125+ let stream = maybe_source_file_to_stream ( psess, source_file, None ) ?;
126126 let mut parser = stream_to_parser ( psess, stream, None ) ;
127127 if parser. token == token:: Eof {
128128 parser. token . span = Span :: new ( end_pos, end_pos, parser. token . span . ctxt ( ) , None ) ;
@@ -148,12 +148,12 @@ pub fn source_file_to_stream(
148148 source_file : Lrc < SourceFile > ,
149149 override_span : Option < Span > ,
150150) -> TokenStream {
151- panictry_buffer ! ( maybe_file_to_stream ( psess, source_file, override_span) )
151+ panictry_buffer ! ( maybe_source_file_to_stream ( psess, source_file, override_span) )
152152}
153153
154154/// Given a source file, produces a sequence of token trees. Returns any buffered errors from
155155/// parsing the token stream.
156- fn maybe_file_to_stream < ' psess > (
156+ fn maybe_source_file_to_stream < ' psess > (
157157 psess : & ' psess ParseSess ,
158158 source_file : Lrc < SourceFile > ,
159159 override_span : Option < Span > ,
0 commit comments