Skip to content

Commit 7c45772

Browse files
committed
Make verbose query description more useful.
1 parent e0098a5 commit 7c45772

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_query_impl/src/plumbing.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ pub(crate) fn create_query_frame<
309309
ty::print::with_forced_impl_filename_line!(do_describe(tcx.tcx, key))
310310
);
311311
let description =
312-
if tcx.sess.verbose() { format!("{} [{}]", description, name) } else { description };
312+
if tcx.sess.verbose() { format!("{} [{:?}]", description, name) } else { description };
313313
let span = if kind == dep_graph::DepKind::def_span {
314314
// The `def_span` query is used to calculate `default_span`,
315315
// so exit to avoid infinite recursion.

0 commit comments

Comments
 (0)