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>(
45
45
NllRegionVariableOrigin :: FreeRegion => "" . to_string ( ) ,
46
46
NllRegionVariableOrigin :: Placeholder ( p) => match p. bound . kind {
47
47
ty:: BoundRegionKind :: Named ( def_id) => {
48
- format ! ( "(p for {} )" , tcx. item_name( def_id) )
48
+ format ! ( " ( for<{}> )" , tcx. item_name( def_id) )
49
49
}
50
- ty:: BoundRegionKind :: ClosureEnv | ty:: BoundRegionKind :: Anon => "(p )" . to_string ( ) ,
50
+ ty:: BoundRegionKind :: ClosureEnv | ty:: BoundRegionKind :: Anon => " (for<'_> )" . to_string ( ) ,
51
51
ty:: BoundRegionKind :: NamedAnon ( _) => {
52
52
bug ! ( "only used for pretty printing" )
53
53
}
54
54
} ,
55
- NllRegionVariableOrigin :: Existential { .. } => "(ex)" . to_string ( ) ,
55
+ NllRegionVariableOrigin :: Existential { .. } => " (ex<'?> )" . to_string ( ) ,
56
56
} ;
57
57
58
58
format ! ( "{:?}{universe_str}{external_name_str}{extra_info}" , rvid)
You can’t perform that action at this time.
0 commit comments