Skip to content

Commit a2f853a

Browse files
committed
Fix rebase
1 parent 5c5fa77 commit a2f853a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

src/libsyntax/parse/mod.rs

+6-4
Original file line numberDiff line numberDiff line change
@@ -347,10 +347,12 @@ pub fn stream_to_parser<'a>(
347347
/// The main usage of this function is outside of rustc, for those who uses
348348
/// libsyntax as a library. Please do not remove this function while refactoring
349349
/// just because it is not used in rustc codebase!
350-
pub fn stream_to_parser_with_base_dir<'a>(sess: &'a ParseSess,
351-
stream: TokenStream,
352-
base_dir: Directory<'a>) -> Parser<'a> {
353-
Parser::new(sess, stream, Some(base_dir), true, false)
350+
pub fn stream_to_parser_with_base_dir<'a>(
351+
sess: &'a ParseSess,
352+
stream: TokenStream,
353+
base_dir: Directory<'a>,
354+
) -> Parser<'a> {
355+
Parser::new(sess, stream, Some(base_dir), true, false, None)
354356
}
355357

356358
/// A sequence separator.

0 commit comments

Comments
 (0)