about summary refs log tree commit diff
path: root/src/libsyntax/error_codes.rs
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2019-09-03 21:15:18 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2019-09-05 12:35:15 -0400
commitb437240ceefaad3cdf92ad7e9d1255b8da88dbb3 (patch)
treead724c143dc6cf6b20b214fa00e4572571e87399 /src/libsyntax/error_codes.rs
parent74563b41666228e46f892e795108e06306b2b514 (diff)
downloadrust-b437240ceefaad3cdf92ad7e9d1255b8da88dbb3.tar.gz
rust-b437240ceefaad3cdf92ad7e9d1255b8da88dbb3.zip
Replace diagnostic plugins with macro_rules
Diffstat (limited to 'src/libsyntax/error_codes.rs')
-rw-r--r--src/libsyntax/error_codes.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libsyntax/error_codes.rs b/src/libsyntax/error_codes.rs
index 76b2575bfd6..9925dd8ada0 100644
--- a/src/libsyntax/error_codes.rs
+++ b/src/libsyntax/error_codes.rs
@@ -421,9 +421,8 @@ Delete the offending feature attribute, or add it to the list of allowed
 features in the `-Z allow_features` flag.
 "##,
 
-}
+;
 
-register_diagnostics! {
     E0539, // incorrect meta item
     E0540, // multiple rustc_deprecated attributes
     E0542, // missing 'since'
@@ -447,7 +446,7 @@ register_diagnostics! {
     // attribute
     E0630,
     E0693, // incorrect `repr(align)` attribute format
-    E0694, // an unknown tool name found in scoped attributes
+//  E0694, // an unknown tool name found in scoped attributes
     E0703, // invalid ABI
     E0717, // rustc_promotable without stability attribute
 }