File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -907,6 +907,8 @@ pub fn diagnostics_registry() -> diagnostics::registry::Registry {
907907 all_errors. push_all ( & rustc_typeck:: DIAGNOSTICS ) ;
908908 all_errors. push_all ( & rustc_borrowck:: DIAGNOSTICS ) ;
909909 all_errors. push_all ( & rustc_resolve:: DIAGNOSTICS ) ;
910+ all_errors. push_all ( & rustc_privacy:: DIAGNOSTICS ) ;
911+ all_errors. push_all ( & rustc_trans:: DIAGNOSTICS ) ;
910912
911913 Registry :: new ( & * all_errors)
912914}
Original file line number Diff line number Diff line change @@ -1505,3 +1505,5 @@ pub fn check_crate(tcx: &ty::ctxt,
15051505
15061506 access_levels
15071507}
1508+
1509+ __build_diagnostic_array ! { librustc_privacy, DIAGNOSTICS }
Original file line number Diff line number Diff line change @@ -89,3 +89,5 @@ pub mod save;
8989pub mod lib {
9090 pub use llvm;
9191}
92+
93+ __build_diagnostic_array ! { librustc_trans, DIAGNOSTICS }
You can’t perform that action at this time.
0 commit comments