rustdoc: render ast::QPath

Fix #18594
This commit is contained in:
Tom Jakubowski
2014-11-20 21:45:05 -08:00
parent dd4c7c00d8
commit de94f0affb
2 changed files with 19 additions and 0 deletions

View File

@@ -485,6 +485,9 @@ impl fmt::Show for clean::Type {
}
}
}
clean::QPath { ref name, ref self_type, ref trait_ } => {
write!(f, "<{} as {}>::{}", self_type, trait_, name)
}
clean::Unique(..) => {
panic!("should have been cleaned")
}