Reorder source_str_to_stream arguments.
It's the only one of these functions where `psess` isn't the first argument.
This commit is contained in:
@@ -82,7 +82,7 @@ where
|
||||
/// Maps a string to tts, using a made-up filename.
|
||||
pub(crate) fn string_to_stream(source_str: String) -> TokenStream {
|
||||
let psess = psess();
|
||||
source_str_to_stream(PathBuf::from("bogofile").into(), source_str, &psess, None)
|
||||
source_str_to_stream(&psess, PathBuf::from("bogofile").into(), source_str, None)
|
||||
}
|
||||
|
||||
/// Parses a string, returns a crate.
|
||||
|
||||
Reference in New Issue
Block a user