about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2018-01-10 15:20:54 +0100
committerbjorn3 <bjorn3@users.noreply.github.com>2018-01-19 20:27:36 +0100
commitc0444242ef800938ebcfd41a9da20b61ca6be4fb (patch)
tree91536a5a3f6f7828e9914dfd6d3b0d4df41c3f9b
parent77dec3b03a57c10a90eb33f1759c0be470132e9e (diff)
downloadrust-c0444242ef800938ebcfd41a9da20b61ca6be4fb.tar.gz
rust-c0444242ef800938ebcfd41a9da20b61ca6be4fb.zip
Fix ICE
-rw-r--r--src/librustc_trans_utils/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/librustc_trans_utils/lib.rs b/src/librustc_trans_utils/lib.rs
index bfecb201983..9b7ab204492 100644
--- a/src/librustc_trans_utils/lib.rs
+++ b/src/librustc_trans_utils/lib.rs
@@ -119,4 +119,5 @@ pub fn find_exported_symbols<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>) -> NodeSet {
     }).collect()
 }
 
+#[cfg(not(stage0))] // remove after the next snapshot
 __build_diagnostic_array! { librustc_trans_utils, DIAGNOSTICS }