summary refs log tree commit diff
path: root/src/librustc_trans
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-11-22 10:22:25 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-11-22 10:26:22 +0530
commit352853c18bf1ec00c69725ee97ae1e3c0bb176fe (patch)
tree5d9d021b8776554070d02037d7fd2a21e9d4116f /src/librustc_trans
parenteb19d024a9902ff551f4839a1d9bd13a7998b75b (diff)
downloadrust-352853c18bf1ec00c69725ee97ae1e3c0bb176fe.tar.gz
rust-352853c18bf1ec00c69725ee97ae1e3c0bb176fe.zip
Register diagnostics for rustc_privacy and rustc_trans properly
fixes #29665
Diffstat (limited to 'src/librustc_trans')
-rw-r--r--src/librustc_trans/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librustc_trans/lib.rs b/src/librustc_trans/lib.rs
index 84ce458ed14..6b465cf28f3 100644
--- a/src/librustc_trans/lib.rs
+++ b/src/librustc_trans/lib.rs
@@ -89,3 +89,5 @@ pub mod save;
 pub mod lib {
     pub use llvm;
 }
+
+__build_diagnostic_array! { librustc_trans, DIAGNOSTICS }