Update and fix a few tests
This commit is contained in:
committed by
Jeffrey Seyfried
parent
302935ff2a
commit
d316874c87
@@ -20,7 +20,7 @@ use std::iter::Peekable;
|
||||
/// Map a string to tts, using a made-up filename:
|
||||
pub fn string_to_stream(source_str: String) -> TokenStream {
|
||||
let ps = ParseSess::new(FilePathMapping::empty());
|
||||
filemap_to_stream(&ps, ps.codemap().new_filemap("bogofile".to_string(), source_str))
|
||||
filemap_to_stream(&ps, ps.codemap().new_filemap("bogofile".to_string(), source_str), None)
|
||||
}
|
||||
|
||||
/// Map string to parser (via tts)
|
||||
|
||||
Reference in New Issue
Block a user