Skip to content

Commit c333ebb

Browse files
committed
fix RUST_LOG, hopefully for real this time
1 parent bff28ec commit c333ebb

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/librustc/dep_graph/thread.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,6 @@ impl DepGraphThreadData {
118118
/// the buffer is full, this may swap.)
119119
#[inline]
120120
pub fn enqueue(&self, message: DepMessage) {
121-
debug!("enqueue: {:?} tasks_pushed={}", message, self.tasks_pushed.get());
122-
123121
// Regardless of whether dep graph construction is enabled, we
124122
// still want to check that we always have a valid task on the
125123
// stack when a read/write/etc event occurs.

src/librustc_metadata/encoder.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1351,6 +1351,7 @@ fn my_visit_expr(expr: &hir::Expr,
13511351

13521352
rbml_w.start_tag(tag_items_data_item);
13531353
encode_def_id_and_key(ecx, rbml_w, def_id);
1354+
encode_name(rbml_w, syntax::parse::token::intern("<closure>"));
13541355

13551356
rbml_w.start_tag(tag_items_closure_ty);
13561357
write_closure_type(ecx, rbml_w, &ecx.tcx.tables.borrow().closure_tys[&def_id]);

src/librustc_trans/monomorphize.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,7 @@ pub struct Instance<'tcx> {
169169

170170
impl<'tcx> fmt::Display for Instance<'tcx> {
171171
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
172-
ppaux::parameterized(f, &self.substs, self.def, ppaux::Ns::Value, &[],
173-
|tcx| Some(tcx.lookup_item_type(self.def).generics))
172+
ppaux::parameterized(f, &self.substs, self.def, ppaux::Ns::Value, &[], |_| None)
174173
}
175174
}
176175

0 commit comments

Comments
 (0)