about summary refs log tree commit diff
path: root/src/librustdoc/scrape_examples.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustdoc/scrape_examples.rs')
-rw-r--r--src/librustdoc/scrape_examples.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustdoc/scrape_examples.rs b/src/librustdoc/scrape_examples.rs
index a2357a62617..10b6fdf87f4 100644
--- a/src/librustdoc/scrape_examples.rs
+++ b/src/librustdoc/scrape_examples.rs
@@ -145,6 +145,7 @@ where
                 if let Some(ty) = types.node_type_opt(f.hir_id) {
                     (ty, ex.span)
                 } else {
+                    trace!("node_type_opt({}) = None", f.hir_id);
                     return;
                 }
             }
@@ -153,6 +154,7 @@ where
                 let def_id = if let Some(def_id) = types.type_dependent_def_id(ex.hir_id) {
                     def_id
                 } else {
+                    trace!("type_dependent_def_id({}) = None", ex.hir_id);
                     return;
                 };
                 (tcx.type_of(def_id), span)