Skip to content

Commit f285239

Browse files
Add desc to specialization_graph_of query
1 parent cbfb988 commit f285239

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/librustc/query/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,7 +647,8 @@ rustc_queries! {
647647
query trait_impls_of(key: DefId) -> &'tcx ty::trait_def::TraitImpls {
648648
desc { |tcx| "trait impls of `{}`", tcx.def_path_str(key) }
649649
}
650-
query specialization_graph_of(_: DefId) -> &'tcx specialization_graph::Graph {
650+
query specialization_graph_of(key: DefId) -> &'tcx specialization_graph::Graph {
651+
desc { |tcx| "building specialization graph of trait `{}`", tcx.def_path_str(key) }
651652
cache_on_disk_if { true }
652653
}
653654
query is_object_safe(key: DefId) -> bool {

0 commit comments

Comments
 (0)