We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
print_def_path
1 parent ef3e386 commit 6fdd53bCopy full SHA for 6fdd53b
compiler/rustc_middle/src/ty/print/pretty.rs
@@ -658,7 +658,7 @@ pub trait PrettyPrinter<'tcx>:
658
let span = self.tcx().hir().span(hir_id);
659
p!(write("@{}", self.tcx().sess.source_map().span_to_string(span)));
660
} else {
661
- p!(write("@{}", self.tcx().def_path_str(did)));
+ p!(write("@"), print_def_path(did, substs));
662
}
663
664
p!(print_def_path(did, substs));
@@ -694,7 +694,7 @@ pub trait PrettyPrinter<'tcx>:
694
695
696
697
698
699
700
0 commit comments