]> git.lizzy.rs Git - rust.git/commitdiff
fix RUST_LOG, hopefully for real this time
authorAriel Ben-Yehuda <ariel.byd@gmail.com>
Fri, 1 Jul 2016 20:51:48 +0000 (23:51 +0300)
committerAriel Ben-Yehuda <ariel.byd@gmail.com>
Fri, 1 Jul 2016 20:52:22 +0000 (23:52 +0300)
src/librustc/dep_graph/thread.rs
src/librustc_metadata/encoder.rs
src/librustc_trans/monomorphize.rs

index 70d0a4e315c3743501a9e2a1afc43c9baf5b6449..4e16fae187070ee13880b1a8c189cf91c724d409 100644 (file)
@@ -118,8 +118,6 @@ pub fn query(&self) -> DepGraphQuery<DefId> {
     /// the buffer is full, this may swap.)
     #[inline]
     pub fn enqueue(&self, message: DepMessage) {
-        debug!("enqueue: {:?} tasks_pushed={}", message, self.tasks_pushed.get());
-
         // Regardless of whether dep graph construction is enabled, we
         // still want to check that we always have a valid task on the
         // stack when a read/write/etc event occurs.
index b2f52100da4c7a3baa096f5befcccb4fc7c386ce..c79bf82b97402c1ce742323a592db215ccef1680 100644 (file)
@@ -1351,6 +1351,7 @@ fn my_visit_expr(expr: &hir::Expr,
 
             rbml_w.start_tag(tag_items_data_item);
             encode_def_id_and_key(ecx, rbml_w, def_id);
+            encode_name(rbml_w, syntax::parse::token::intern("<closure>"));
 
             rbml_w.start_tag(tag_items_closure_ty);
             write_closure_type(ecx, rbml_w, &ecx.tcx.tables.borrow().closure_tys[&def_id]);
index fa00ea1e7801bb4a7cf31a2b30fba1fc867077b9..ab859b88a85972d55200ba32260199974fa94422 100644 (file)
@@ -169,8 +169,7 @@ pub struct Instance<'tcx> {
 
 impl<'tcx> fmt::Display for Instance<'tcx> {
     fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
-        ppaux::parameterized(f, &self.substs, self.def, ppaux::Ns::Value, &[],
-                             |tcx| Some(tcx.lookup_item_type(self.def).generics))
+        ppaux::parameterized(f, &self.substs, self.def, ppaux::Ns::Value, &[], |_| None)
     }
 }