about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJP Sugarbroad <jpsugar@google.com>2016-04-14 12:21:52 -0700
committerJP Sugarbroad <jpsugar@google.com>2016-04-14 12:21:52 -0700
commit8611d857ed62ba31ade6bc5e12c66e2ced73bed4 (patch)
tree2f7c7d3b2624b6dce7431b10bd03a7f1310a6d37
parent073a09fd63c9b4ec3bb4709986a2517ca4c3cdf1 (diff)
downloadrust-8611d857ed62ba31ade6bc5e12c66e2ced73bed4.tar.gz
rust-8611d857ed62ba31ade6bc5e12c66e2ced73bed4.zip
Clean up some info log spam.
-rw-r--r--src/librustc/middle/region.rs2
-rw-r--r--src/librustc/traits/fulfill.rs7
2 files changed, 3 insertions, 6 deletions
diff --git a/src/librustc/middle/region.rs b/src/librustc/middle/region.rs
index de349917258..56b4036b7d7 100644
--- a/src/librustc/middle/region.rs
+++ b/src/librustc/middle/region.rs
@@ -389,7 +389,7 @@ impl RegionMaps {
                            // but this isn't the only place
                 }
                 let idx = CodeExtent(self.code_extents.borrow().len() as u32);
-                info!("CodeExtent({}) = {:?} [parent={}]", idx.0, e, parent.0);
+                debug!("CodeExtent({}) = {:?} [parent={}]", idx.0, e, parent.0);
                 self.code_extents.borrow_mut().push(e);
                 self.scope_map.borrow_mut().push(parent);
                 *v.insert(idx)
diff --git a/src/librustc/traits/fulfill.rs b/src/librustc/traits/fulfill.rs
index 662adf98007..8946ec2153b 100644
--- a/src/librustc/traits/fulfill.rs
+++ b/src/librustc/traits/fulfill.rs
@@ -542,12 +542,12 @@ fn process_predicate1<'a,'tcx>(selcx: &mut SelectionContext<'a,'tcx>,
             let trait_obligation = obligation.with(data.clone());
             match selcx.select(&trait_obligation) {
                 Ok(Some(vtable)) => {
-                    info!("selecting trait `{:?}` at depth {} yielded Ok(Some)",
+                    debug!("selecting trait `{:?}` at depth {} yielded Ok(Some)",
                           data, obligation.recursion_depth);
                     Ok(Some(vtable.nested_obligations()))
                 }
                 Ok(None) => {
-                    info!("selecting trait `{:?}` at depth {} yielded Ok(None)",
+                    debug!("selecting trait `{:?}` at depth {} yielded Ok(None)",
                           data, obligation.recursion_depth);
 
                     // This is a bit subtle: for the most part, the
@@ -781,8 +781,6 @@ impl<'tcx> GlobalFulfilledPredicates<'tcx> {
             self.dep_graph.read(data.dep_node());
             debug!("check_duplicate: global predicate `{:?}` already proved elsewhere", data);
 
-            info!("check_duplicate_trait hit: `{:?}`", data);
-
             true
         } else {
             false
@@ -798,7 +796,6 @@ impl<'tcx> GlobalFulfilledPredicates<'tcx> {
             if data.is_global() {
                 if self.set.insert(data.clone()) {
                     debug!("add_if_global: global predicate `{:?}` added", data);
-                    info!("check_duplicate_trait entry: `{:?}`", data);
                 }
             }
         }