File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
compiler/rustc_borrowck/src/region_infer Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -45,14 +45,14 @@ fn render_region_vid<'tcx>(
4545 NllRegionVariableOrigin :: FreeRegion => "" . to_string ( ) ,
4646 NllRegionVariableOrigin :: Placeholder ( p) => match p. bound . kind {
4747 ty:: BoundRegionKind :: Named ( def_id) => {
48- format ! ( "(p for {} )" , tcx. item_name( def_id) )
48+ format ! ( " ( for<{}> )" , tcx. item_name( def_id) )
4949 }
50- ty:: BoundRegionKind :: ClosureEnv | ty:: BoundRegionKind :: Anon => "(p )" . to_string ( ) ,
50+ ty:: BoundRegionKind :: ClosureEnv | ty:: BoundRegionKind :: Anon => " (for<'_> )" . to_string ( ) ,
5151 ty:: BoundRegionKind :: NamedAnon ( _) => {
5252 bug ! ( "only used for pretty printing" )
5353 }
5454 } ,
55- NllRegionVariableOrigin :: Existential { .. } => "(ex)" . to_string ( ) ,
55+ NllRegionVariableOrigin :: Existential { .. } => " (ex<'?> )" . to_string ( ) ,
5656 } ;
5757
5858 format ! ( "{:?}{universe_str}{external_name_str}{extra_info}" , rvid)
You can’t perform that action at this time.
0 commit comments