@@ -899,7 +899,7 @@ pub trait PrettyPrinter<'tcx>: Printer<'tcx> + fmt::Write {
899899 if !self . should_print_verbose ( ) {
900900 write ! ( self , "{coroutine_kind}" ) ?;
901901 if self . should_truncate ( ) {
902- write ! ( self , "@... }}" ) ?;
902+ write ! ( self , "}}" ) ?;
903903 return Ok ( ( ) ) ;
904904 } else if coroutine_kind. is_fn_like ( ) {
905905 // If we are printing an `async fn` coroutine type, then give the path
@@ -967,7 +967,7 @@ pub trait PrettyPrinter<'tcx>: Printer<'tcx> + fmt::Write {
967967 if !self . should_print_verbose ( ) {
968968 write ! ( self , "closure" ) ?;
969969 if self . should_truncate ( ) {
970- write ! ( self , "@... }}" ) ?;
970+ write ! ( self , "}}" ) ?;
971971 return Ok ( ( ) ) ;
972972 } else {
973973 if let Some ( did) = did. as_local ( ) {
@@ -1031,7 +1031,7 @@ pub trait PrettyPrinter<'tcx>: Printer<'tcx> + fmt::Write {
10311031 ) ,
10321032 }
10331033 if self . should_truncate ( ) {
1034- write ! ( self , "@... }}" ) ?;
1034+ write ! ( self , "}}" ) ?;
10351035 return Ok ( ( ) ) ;
10361036 } else if let Some ( did) = did. as_local ( ) {
10371037 if self . tcx ( ) . sess . opts . unstable_opts . span_free_formats {
@@ -2426,7 +2426,7 @@ impl<'tcx> Printer<'tcx> for FmtPrinter<'_, 'tcx> {
24262426 {
24272427 // We only truncate types that we know are likely to be much longer than 3 chars.
24282428 // There's no point in replacing `i32` or `!`.
2429- write ! ( self , "... " ) ?;
2429+ write ! ( self , "_ " ) ?;
24302430 Ok ( ( ) )
24312431 }
24322432 ty:: Ref ( ..) if self . should_truncate ( ) && has_regions => self . pretty_print_type ( ty) ,
0 commit comments