File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -177,8 +177,6 @@ mod rustc_trans {
177177 pub const CODE_GEN_MODEL_ARGS : [ ( & ' static str , ( ) ) ; 0 ] = [ ] ;
178178 }
179179 }
180-
181- __build_diagnostic_array ! { librustc_trans, DIAGNOSTICS }
182180}
183181
184182// Parse args and run the compiler. This is the primary entry point for rustc.
@@ -1264,6 +1262,7 @@ pub fn diagnostics_registry() -> errors::registry::Registry {
12641262 all_errors. extend_from_slice ( & rustc_borrowck:: DIAGNOSTICS ) ;
12651263 all_errors. extend_from_slice ( & rustc_resolve:: DIAGNOSTICS ) ;
12661264 all_errors. extend_from_slice ( & rustc_privacy:: DIAGNOSTICS ) ;
1265+ #[ cfg( feature="llvm" ) ]
12671266 all_errors. extend_from_slice ( & rustc_trans:: DIAGNOSTICS ) ;
12681267 all_errors. extend_from_slice ( & rustc_const_eval:: DIAGNOSTICS ) ;
12691268 all_errors. extend_from_slice ( & rustc_metadata:: DIAGNOSTICS ) ;
You can’t perform that action at this time.
0 commit comments