about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/traits/structural_impls.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2023-07-16 22:42:46 +0000
committerMichael Goulet <michael@errs.io>2023-07-25 15:15:25 +0000
commitc02d1a65534244532aba0f42a6719d87084865d2 (patch)
tree00a28abc9d73408e9d4e15a7f4962d0af1c0a9c9 /compiler/rustc_middle/src/traits/structural_impls.rs
parent24eefd08e25b8ffec2df092f0add812ed58875a0 (diff)
downloadrust-c02d1a65534244532aba0f42a6719d87084865d2.tar.gz
rust-c02d1a65534244532aba0f42a6719d87084865d2.zip
Restore tuple unsizing feature gate
Diffstat (limited to 'compiler/rustc_middle/src/traits/structural_impls.rs')
-rw-r--r--compiler/rustc_middle/src/traits/structural_impls.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_middle/src/traits/structural_impls.rs b/compiler/rustc_middle/src/traits/structural_impls.rs
index e2cd118500b..b7bce05300d 100644
--- a/compiler/rustc_middle/src/traits/structural_impls.rs
+++ b/compiler/rustc_middle/src/traits/structural_impls.rs
@@ -17,6 +17,8 @@ impl<'tcx, N: fmt::Debug> fmt::Debug for traits::ImplSource<'tcx, N> {
                 write!(f, "ImplSourceParamData({:?}, {:?})", n, ct)
             }
 
+            super::ImplSource::TupleUnsizing(ref d) => write!(f, "{:?}", d),
+
             super::ImplSource::TraitUpcasting(ref d) => write!(f, "{:?}", d),
         }
     }