inline format!() args up to and including rustc_middle
This commit is contained in:
parent
2e0136a131
commit
23815467a2
87 changed files with 378 additions and 437 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue