File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ fn main() -> anyhow::Result<()> {
47
47
. ok ( ) ,
48
48
..Default :: default ( )
49
49
} ;
50
- let progress = |t| ( println ! ( "progress: {}" , t) ) ;
50
+ let progress = |t| ( log :: info !( "progress: {}" , t) ) ;
51
51
let load_config = LoadCargoConfig {
52
52
load_out_dirs_from_check : true ,
53
53
with_proc_macro_server : ProcMacroServerChoice :: Sysroot ,
Original file line number Diff line number Diff line change @@ -938,7 +938,7 @@ impl CrateTranslator<'_> {
938
938
let body = if self . extract_dependencies || self . krate . origin ( self . db ) . is_local ( ) {
939
939
let ( body, source_map) = self . db . body_with_source_map ( def. into ( ) ) ;
940
940
let txt = body. pretty_print ( self . db , def. into ( ) , Edition :: Edition2021 ) ;
941
- println ! ( "{}" , & txt) ;
941
+ log :: trace !( "{}" , & txt) ;
942
942
self . emit_expr ( body. body_expr , & body, & source_map)
943
943
} else {
944
944
self . trap . emit ( generated:: MissingExpr {
You can’t perform that action at this time.
0 commit comments