From c0444242ef800938ebcfd41a9da20b61ca6be4fb Mon Sep 17 00:00:00 2001 From: bjorn3 Date: Wed, 10 Jan 2018 15:20:54 +0100 Subject: [PATCH] Fix ICE --- src/librustc_trans_utils/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/librustc_trans_utils/lib.rs b/src/librustc_trans_utils/lib.rs index bfecb2019836..9b7ab204492a 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 }