@@ -1323,7 +1323,7 @@ impl<'tcx> TypeErrCtxt<'_, 'tcx> {
13231323 let num_display_types = consts_offset - regions_len;
13241324 for ( i, ( ta1, ta2) ) in type_arguments. take ( num_display_types) . enumerate ( ) {
13251325 let i = i + regions_len;
1326- if ta1 == ta2 && !self . tcx . sess . verbose ( ) {
1326+ if ta1 == ta2 && !self . tcx . sess . verbose_internals ( ) {
13271327 values. 0 . push_normal ( "_" ) ;
13281328 values. 1 . push_normal ( "_" ) ;
13291329 } else {
@@ -1337,7 +1337,7 @@ impl<'tcx> TypeErrCtxt<'_, 'tcx> {
13371337 let const_arguments = sub1. consts ( ) . zip ( sub2. consts ( ) ) ;
13381338 for ( i, ( ca1, ca2) ) in const_arguments. enumerate ( ) {
13391339 let i = i + consts_offset;
1340- if ca1 == ca2 && !self . tcx . sess . verbose ( ) {
1340+ if ca1 == ca2 && !self . tcx . sess . verbose_internals ( ) {
13411341 values. 0 . push_normal ( "_" ) ;
13421342 values. 1 . push_normal ( "_" ) ;
13431343 } else {
@@ -1507,7 +1507,7 @@ impl<'tcx> TypeErrCtxt<'_, 'tcx> {
15071507 ( ty:: FnPtr ( sig1) , ty:: FnPtr ( sig2) ) => self . cmp_fn_sig ( sig1, sig2) ,
15081508
15091509 _ => {
1510- if t1 == t2 && !self . tcx . sess . verbose ( ) {
1510+ if t1 == t2 && !self . tcx . sess . verbose_internals ( ) {
15111511 // The two types are the same, elide and don't highlight.
15121512 ( DiagnosticStyledString :: normal ( "_" ) , DiagnosticStyledString :: normal ( "_" ) )
15131513 } else {
0 commit comments