Remove E0001 diagnostic
This commit is contained in:
parent
a1570828b2
commit
4136ba072e
2 changed files with 2 additions and 27 deletions
|
|
@ -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!'
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue