mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 16:54:01 +00:00
Don't print the whole crate disambiguator value in debug output
This commit is contained in:
parent
f854f8b366
commit
9da83a8daf
@ -320,7 +320,9 @@ impl DefPath {
|
||||
|
||||
s.push_str(&tcx.original_crate_name(self.krate).as_str());
|
||||
s.push_str("/");
|
||||
s.push_str(&tcx.crate_disambiguator(self.krate).as_str());
|
||||
// Don't print the whole crate disambiguator. That's just annoying in
|
||||
// debug output.
|
||||
s.push_str(&tcx.crate_disambiguator(self.krate).as_str()[..7]);
|
||||
|
||||
for component in &self.data {
|
||||
write!(s,
|
||||
|
Loading…
Reference in New Issue
Block a user