Skip to content

Commit

Permalink
used debug, not info
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-i-m committed Jun 24, 2018
1 parent 997655c commit 16d7f87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/librustc_allocator/expand.rs
Expand Up @@ -66,7 +66,7 @@ struct ExpandAllocatorDirectives<'a> {

impl<'a> Folder for ExpandAllocatorDirectives<'a> {
fn fold_item(&mut self, item: P<Item>) -> SmallVector<P<Item>> {
info!("in submodule {}", self.in_submod);
debug!("in submodule {}", self.in_submod);

let name = if attr::contains_name(&item.attrs, "global_allocator") {
"global_allocator"
Expand Down Expand Up @@ -160,11 +160,11 @@ impl<'a> Folder for ExpandAllocatorDirectives<'a> {

// If we enter a submodule, take note.
fn fold_mod(&mut self, m: Mod) -> Mod {
info!("enter submodule");
debug!("enter submodule");
self.in_submod += 1;
let ret = fold::noop_fold_mod(m, self);
self.in_submod -= 1;
info!("exit submodule");
debug!("exit submodule");
ret
}

Expand Down

0 comments on commit 16d7f87

Please sign in to comment.