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<()> {
4747 . ok ( ) ,
4848 ..Default :: default ( )
4949 } ;
50- let progress = |t| ( println ! ( "progress: {}" , t) ) ;
50+ let progress = |t| ( log :: info !( "progress: {}" , t) ) ;
5151 let load_config = LoadCargoConfig {
5252 load_out_dirs_from_check : true ,
5353 with_proc_macro_server : ProcMacroServerChoice :: Sysroot ,
Original file line number Diff line number Diff line change @@ -938,7 +938,7 @@ impl CrateTranslator<'_> {
938938 let body = if self . extract_dependencies || self . krate . origin ( self . db ) . is_local ( ) {
939939 let ( body, source_map) = self . db . body_with_source_map ( def. into ( ) ) ;
940940 let txt = body. pretty_print ( self . db , def. into ( ) , Edition :: Edition2021 ) ;
941- println ! ( "{}" , & txt) ;
941+ log :: trace !( "{}" , & txt) ;
942942 self . emit_expr ( body. body_expr , & body, & source_map)
943943 } else {
944944 self . trap . emit ( generated:: MissingExpr {
You can’t perform that action at this time.
0 commit comments