Remove E0001 diagnostic

This commit is contained in:
Andrew Cann 2016-12-29 12:38:02 +08:00
parent a1570828b2
commit 4136ba072e
2 changed files with 2 additions and 27 deletions

View file

@ -11,11 +11,11 @@
// Test that diagnostic macros are gated by `rustc_diagnostic_macros` feature
// gate
__register_diagnostic!(E0001);
__register_diagnostic!(E0002);
//~^ ERROR macro undefined: '__register_diagnostic!'
fn main() {
__diagnostic_used!(E0001);
__diagnostic_used!(E0002);
//~^ ERROR macro undefined: '__diagnostic_used!'
}