about summary refs log tree commit diff
path: root/src/librustc_trans/collector.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustc_trans/collector.rs')
-rw-r--r--src/librustc_trans/collector.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/librustc_trans/collector.rs b/src/librustc_trans/collector.rs
index acc302430ae..fdd1ee1fba1 100644
--- a/src/librustc_trans/collector.rs
+++ b/src/librustc_trans/collector.rs
@@ -1042,7 +1042,9 @@ fn create_fn_trans_item<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
     let concrete_substs = monomorphize::apply_param_substs(tcx,
                                                            param_substs,
                                                            &fn_substs);
-    assert!(concrete_substs.is_normalized_for_trans());
+    assert!(concrete_substs.is_normalized_for_trans(),
+            "concrete_substs not normalized for trans: {:?}",
+            concrete_substs);
     TransItem::Fn(Instance::new(def_id, concrete_substs))
 }