Skip to content

Commit 6164c69

Browse files
mark-i-mpietroalbini
authored andcommitted
used debug, not info
1 parent fc709c6 commit 6164c69

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
@@ -67,7 +67,7 @@ struct ExpandAllocatorDirectives<'a> {
6767

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

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

164164
// If we enter a submodule, take note.
165165
fn fold_mod(&mut self, m: Mod) -> Mod {
166-
info!("enter submodule");
166+
debug!("enter submodule");
167167
self.in_submod += 1;
168168
let ret = fold::noop_fold_mod(m, self);
169169
self.in_submod -= 1;
170-
info!("exit submodule");
170+
debug!("exit submodule");
171171
ret
172172
}
173173

0 commit comments

Comments
 (0)