Print -Ztime-passes (and misc stats/logs) on stderr, not stdout.

This commit is contained in:
Eduard-Mihai Burtescu 2021-02-18 14:13:38 +02:00
parent 25a2c13e9d
commit 6165d1cc72
12 changed files with 64 additions and 64 deletions

View file

@ -243,7 +243,7 @@ impl SourceMapExtension for SourceMap {
substring: &str,
n: usize,
) -> Span {
println!(
eprintln!(
"span_substr(file={:?}/{:?}, substring={:?}, n={})",
file.name, file.start_pos, substring, n
);