about summary refs log tree commit diff
path: root/src/librustc_codegen_ssa/debuginfo
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2019-04-26 00:27:33 +0100
committervarkor <github@varkor.com>2019-04-26 21:09:32 +0100
commita3470c61890710421ddb82fbe72b1ca8fdc8e078 (patch)
tree4747508fb75281c1a9b812778a92b4194e12056f /src/librustc_codegen_ssa/debuginfo
parent283ca7616c69a6c893b7d9dd157fa9df4a746b72 (diff)
downloadrust-a3470c61890710421ddb82fbe72b1ca8fdc8e078.tar.gz
rust-a3470c61890710421ddb82fbe72b1ca8fdc8e078.zip
Update handling of Tuple
Diffstat (limited to 'src/librustc_codegen_ssa/debuginfo')
-rw-r--r--src/librustc_codegen_ssa/debuginfo/type_names.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_codegen_ssa/debuginfo/type_names.rs b/src/librustc_codegen_ssa/debuginfo/type_names.rs
index fee6c5b04d0..39aea4b9828 100644
--- a/src/librustc_codegen_ssa/debuginfo/type_names.rs
+++ b/src/librustc_codegen_ssa/debuginfo/type_names.rs
@@ -46,7 +46,7 @@ pub fn push_debuginfo_type_name<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
         ty::Tuple(component_types) => {
             output.push('(');
             for &component_type in component_types {
-                push_debuginfo_type_name(tcx, component_type, true, output, visited);
+                push_debuginfo_type_name(tcx, component_type.expect_ty(), true, output, visited);
                 output.push_str(", ");
             }
             if !component_types.is_empty() {