Skip to content

Commit 16d7f87

Browse files
committed
used debug, not info
1 parent 997655c commit 16d7f87

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/librustc_allocator/expand.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ struct ExpandAllocatorDirectives<'a> {
6666

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

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

161161
// If we enter a submodule, take note.
162162
fn fold_mod(&mut self, m: Mod) -> Mod {
163-
info!("enter submodule");
163+
debug!("enter submodule");
164164
self.in_submod += 1;
165165
let ret = fold::noop_fold_mod(m, self);
166166
self.in_submod -= 1;
167-
info!("exit submodule");
167+
debug!("exit submodule");
168168
ret
169169
}
170170

0 commit comments

Comments
 (0)