inline format!() args up to and including rustc_middle

This commit is contained in:
Matthias Krüger 2023-07-25 22:00:13 +02:00
parent 2e0136a131
commit 23815467a2
87 changed files with 378 additions and 437 deletions

View file

@ -557,7 +557,7 @@ impl<K: DepKind> DepGraph<K> {
result,
prev_index,
hash_result,
|value| format!("{:?}", value),
|value| format!("{value:?}"),
);
#[cfg(debug_assertions)]
@ -1433,7 +1433,7 @@ pub(crate) fn print_markframe_trace<K: DepKind>(
let mut current = frame;
while let Some(frame) = current {
let node = data.previous.index_to_node(frame.index);
eprintln!("#{i} {:?}", node);
eprintln!("#{i} {node:?}");
current = frame.parent;
i += 1;
}