Fix rebase
This commit is contained in:
parent
5c5fa775e5
commit
a2f853a691
|
@ -347,10 +347,12 @@ pub fn stream_to_parser<'a>(
|
||||||
/// The main usage of this function is outside of rustc, for those who uses
|
/// The main usage of this function is outside of rustc, for those who uses
|
||||||
/// libsyntax as a library. Please do not remove this function while refactoring
|
/// libsyntax as a library. Please do not remove this function while refactoring
|
||||||
/// just because it is not used in rustc codebase!
|
/// just because it is not used in rustc codebase!
|
||||||
pub fn stream_to_parser_with_base_dir<'a>(sess: &'a ParseSess,
|
pub fn stream_to_parser_with_base_dir<'a>(
|
||||||
stream: TokenStream,
|
sess: &'a ParseSess,
|
||||||
base_dir: Directory<'a>) -> Parser<'a> {
|
stream: TokenStream,
|
||||||
Parser::new(sess, stream, Some(base_dir), true, false)
|
base_dir: Directory<'a>,
|
||||||
|
) -> Parser<'a> {
|
||||||
|
Parser::new(sess, stream, Some(base_dir), true, false, None)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// A sequence separator.
|
/// A sequence separator.
|
||||||
|
|
Loading…
Reference in New Issue