File tree 1 file changed +2
-2
lines changed
compiler/rustc_borrowck/src
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ pub fn provide(providers: &mut Providers) {
118
118
119
119
fn mir_borrowck ( tcx : TyCtxt < ' _ > , def : LocalDefId ) -> & BorrowCheckResult < ' _ > {
120
120
let ( input_body, _) = tcx. mir_promoted ( def) ;
121
- debug ! ( "run query mir_borrowck: {}" , tcx . def_path_str ( def ) ) ;
121
+ debug ! ( "run query mir_borrowck: {def:?}" ) ;
122
122
123
123
if input_body. borrow ( ) . should_skip ( ) {
124
124
debug ! ( "Skipping borrowck because of injected body" ) ;
@@ -137,7 +137,7 @@ fn mir_borrowck(tcx: TyCtxt<'_>, def: LocalDefId) -> &BorrowCheckResult<'_> {
137
137
tcx. infer_ctxt ( ) . with_opaque_type_inference ( DefiningAnchor :: Bind ( typeck_root) ) . build ( ) ;
138
138
let input_body: & Body < ' _ > = & input_body. borrow ( ) ;
139
139
let opt_closure_req = do_mir_borrowck ( & infcx, input_body, false ) . 0 ;
140
- debug ! ( "mir_borrowck done" ) ;
140
+ debug ! ( "mir_borrowck done: {def:?} " ) ;
141
141
142
142
tcx. arena . alloc ( opt_closure_req)
143
143
}
You can’t perform that action at this time.
0 commit comments