Skip to content

Commit 8698f5c

Browse files
committed
Remove __build_diagnostic_array! from cg_utils
1 parent 2d46ee2 commit 8698f5c

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

src/librustc_codegen_utils/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,3 @@ pub fn check_for_rustc_errors_attr(tcx: TyCtxt) {
6060
}
6161
}
6262
}
63-
64-
__build_diagnostic_array! { librustc_codegen_utils, DIAGNOSTICS }

src/librustc_driver/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1697,7 +1697,6 @@ pub fn diagnostics_registry() -> errors::registry::Registry {
16971697
all_errors.extend_from_slice(&rustc_privacy::DIAGNOSTICS);
16981698
// FIXME: need to figure out a way to get these back in here
16991699
// all_errors.extend_from_slice(get_codegen_backend(sess).diagnostics());
1700-
all_errors.extend_from_slice(&rustc_codegen_utils::DIAGNOSTICS);
17011700
all_errors.extend_from_slice(&rustc_metadata::DIAGNOSTICS);
17021701
all_errors.extend_from_slice(&rustc_passes::DIAGNOSTICS);
17031702
all_errors.extend_from_slice(&rustc_plugin::DIAGNOSTICS);

0 commit comments

Comments
 (0)