1
Fork 0

add a bunch of debug prints

This commit is contained in:
QuietMisdreavus 2018-08-14 14:43:03 -05:00
parent 50fa16f5b5
commit a893117f38
3 changed files with 12 additions and 0 deletions

View file

@ -1223,6 +1223,10 @@ impl<'a> SourceCollector<'a> {
impl DocFolder for Cache {
fn fold_item(&mut self, item: clean::Item) -> Option<clean::Item> {
if item.def_id.is_local() {
debug!("folding item \"{:?}\", a {}", item.name, item.type_());
}
// If this is a stripped module,
// we don't want it or its children in the search index.
let orig_stripped_mod = match item.inner {