File tree 1 file changed +1
-2
lines changed
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -177,8 +177,6 @@ mod rustc_trans {
177
177
pub const CODE_GEN_MODEL_ARGS : [ ( & ' static str , ( ) ) ; 0 ] = [ ] ;
178
178
}
179
179
}
180
-
181
- __build_diagnostic_array ! { librustc_trans, DIAGNOSTICS }
182
180
}
183
181
184
182
// 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 {
1264
1262
all_errors. extend_from_slice ( & rustc_borrowck:: DIAGNOSTICS ) ;
1265
1263
all_errors. extend_from_slice ( & rustc_resolve:: DIAGNOSTICS ) ;
1266
1264
all_errors. extend_from_slice ( & rustc_privacy:: DIAGNOSTICS ) ;
1265
+ #[ cfg( feature="llvm" ) ]
1267
1266
all_errors. extend_from_slice ( & rustc_trans:: DIAGNOSTICS ) ;
1268
1267
all_errors. extend_from_slice ( & rustc_const_eval:: DIAGNOSTICS ) ;
1269
1268
all_errors. extend_from_slice ( & rustc_metadata:: DIAGNOSTICS ) ;
You can’t perform that action at this time.
0 commit comments