File tree 5 files changed +11
-1
lines changed
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 {
1207
1207
all_errors. extend_from_slice ( & rustc_trans:: DIAGNOSTICS ) ;
1208
1208
all_errors. extend_from_slice ( & rustc_const_eval:: DIAGNOSTICS ) ;
1209
1209
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 ) ;
1210
1214
1211
1215
Registry :: new ( & all_errors)
1212
1216
}
Original file line number Diff line number Diff line change @@ -57,3 +57,5 @@ pub fn provide(providers: &mut Providers) {
57
57
shim:: provide ( providers) ;
58
58
transform:: provide ( providers) ;
59
59
}
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;
45
45
pub mod mir_stats;
46
46
pub mod no_asm;
47
47
pub 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;
84
84
pub mod registry;
85
85
pub mod load;
86
86
pub 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 {
148
148
#[ cfg( test) ]
149
149
mod test_snippet;
150
150
151
- // __build_diagnostic_array! { libsyntax, DIAGNOSTICS }
151
+ __build_diagnostic_array ! { libsyntax, DIAGNOSTICS }
You can’t perform that action at this time.
0 commit comments