about summary refs log tree commit diff
path: root/src/librustc/diagnostics.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustc/diagnostics.rs')
-rw-r--r--src/librustc/diagnostics.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/librustc/diagnostics.rs b/src/librustc/diagnostics.rs
index fcac718b370..4c3cb99f64d 100644
--- a/src/librustc/diagnostics.rs
+++ b/src/librustc/diagnostics.rs
@@ -10,16 +10,16 @@
 
 #![allow(non_snake_case)]
 
-register_diagnostic!(E0001, r##"
+register_diagnostic! { E0001, r##"
     This error suggests that the expression arm corresponding to the noted pattern
     will never be reached as for all possible values of the expression being matched,
     one of the preceeding patterns will match.
 
     This means that perhaps some of the preceeding patterns are too general, this
     one is too specific or the ordering is incorrect.
-"##)
+"## }
 
-register_diagnostics!(
+register_diagnostics! {
     E0002,
     E0003,
     E0004,
@@ -68,4 +68,4 @@ register_diagnostics!(
     E0174,
     E0177,
     E0178
-)
+}