Register diagnostics for rustc_privacy and rustc_trans properly

fixes #29665
This commit is contained in:
Manish Goregaokar 2015-11-22 10:22:25 +05:30
parent eb19d024a9
commit 352853c18b
3 changed files with 6 additions and 0 deletions

View file

@ -907,6 +907,8 @@ pub fn diagnostics_registry() -> diagnostics::registry::Registry {
all_errors.push_all(&rustc_typeck::DIAGNOSTICS);
all_errors.push_all(&rustc_borrowck::DIAGNOSTICS);
all_errors.push_all(&rustc_resolve::DIAGNOSTICS);
all_errors.push_all(&rustc_privacy::DIAGNOSTICS);
all_errors.push_all(&rustc_trans::DIAGNOSTICS);
Registry::new(&*all_errors)
}