diff options
| author | Andrew Cann <shum@canndrew.org> | 2016-12-29 12:38:02 +0800 |
|---|---|---|
| committer | Andrew Cann <shum@canndrew.org> | 2017-01-03 15:48:29 +0800 |
| commit | 4136ba072e1b8ff5c06de2c3dc4b72773ae1b3e5 (patch) | |
| tree | 9b2cf73d75c3895ae842b512d0d9e03f88c47420 /src/test | |
| parent | a1570828b2b158afa755a5836b20c0fa5abc764a (diff) | |
Remove E0001 diagnostic
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/compile-fail/feature-gate-rustc-diagnostic-macros.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/compile-fail/feature-gate-rustc-diagnostic-macros.rs b/src/test/compile-fail/feature-gate-rustc-diagnostic-macros.rs index 8286d833e8d..04e95584407 100644 --- a/src/test/compile-fail/feature-gate-rustc-diagnostic-macros.rs +++ b/src/test/compile-fail/feature-gate-rustc-diagnostic-macros.rs @@ -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!' } |
