Skip to content

Commit d82a792

Browse files
committed
use the logging framework instead of println!
1 parent a55ac1f commit d82a792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/miri.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ impl<'a> CompilerCalls<'a> for MiriCompilerCalls {
3838
let mir_map = state.mir_map.unwrap();
3939

4040
let (node_id, span) = state.session.entry_fn.borrow().expect("no main or start function found");
41-
println!("found `main` function at: {:?}", span);
41+
debug!("found `main` function at: {:?}", span);
4242

4343
let mir = mir_map.map.get(&node_id).expect("no mir for main function");
4444
let def_id = tcx.map.local_def_id(node_id);

0 commit comments

Comments
 (0)