File tree Expand file tree Collapse file tree 5 files changed +11
-1
lines changed Expand file tree Collapse file tree 5 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -1207,6 +1207,10 @@ pub fn diagnostics_registry() -> errors::registry::Registry {
12071207 all_errors. extend_from_slice ( & rustc_trans:: DIAGNOSTICS ) ;
12081208 all_errors. extend_from_slice ( & rustc_const_eval:: DIAGNOSTICS ) ;
12091209 all_errors. extend_from_slice ( & rustc_metadata:: DIAGNOSTICS ) ;
1210+ all_errors. extend_from_slice ( & rustc_passes:: DIAGNOSTICS ) ;
1211+ all_errors. extend_from_slice ( & rustc_plugin:: DIAGNOSTICS ) ;
1212+ all_errors. extend_from_slice ( & rustc_mir:: DIAGNOSTICS ) ;
1213+ all_errors. extend_from_slice ( & syntax:: DIAGNOSTICS ) ;
12101214
12111215 Registry :: new ( & all_errors)
12121216}
Original file line number Diff line number Diff line change @@ -57,3 +57,5 @@ pub fn provide(providers: &mut Providers) {
5757 shim:: provide ( providers) ;
5858 transform:: provide ( providers) ;
5959}
60+
61+ __build_diagnostic_array ! { librustc_mir, DIAGNOSTICS }
Original file line number Diff line number Diff line change @@ -45,3 +45,5 @@ pub mod loops;
4545pub mod mir_stats;
4646pub mod no_asm;
4747pub mod static_recursion;
48+
49+ __build_diagnostic_array ! { librustc_passes, DIAGNOSTICS }
Original file line number Diff line number Diff line change @@ -84,3 +84,5 @@ pub mod diagnostics;
8484pub mod registry;
8585pub mod load;
8686pub mod build;
87+
88+ __build_diagnostic_array ! { librustc_plugin, DIAGNOSTICS }
Original file line number Diff line number Diff line change @@ -148,4 +148,4 @@ pub mod ext {
148148#[ cfg( test) ]
149149mod test_snippet;
150150
151- // __build_diagnostic_array! { libsyntax, DIAGNOSTICS }
151+ __build_diagnostic_array ! { libsyntax, DIAGNOSTICS }
You can’t perform that action at this time.
0 commit comments