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