We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f854f8b commit 9da83a8Copy full SHA for 9da83a8
src/librustc/hir/map/definitions.rs
@@ -320,7 +320,9 @@ impl DefPath {
320
321
s.push_str(&tcx.original_crate_name(self.krate).as_str());
322
s.push_str("/");
323
- s.push_str(&tcx.crate_disambiguator(self.krate).as_str());
+ // Don't print the whole crate disambiguator. That's just annoying in
324
+ // debug output.
325
+ s.push_str(&tcx.crate_disambiguator(self.krate).as_str()[..7]);
326
327
for component in &self.data {
328
write!(s,
0 commit comments