about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJakub Wieczorek <jakub@jakub.cc>2014-09-30 18:52:40 +0200
committerJakub Wieczorek <jakub@jakub.cc>2014-09-30 18:54:03 +0200
commite723051a2eb840a710f2b79afc1b42b0b707d0e4 (patch)
tree9d5e05f08104ca1401a5277d3f7aa20745a95f26
parent5254ccc7c16f232ddd8788b8a3e7c89ffa82532a (diff)
downloadrust-e723051a2eb840a710f2b79afc1b42b0b707d0e4.tar.gz
rust-e723051a2eb840a710f2b79afc1b42b0b707d0e4.zip
Temporarily remove the description for the diagnostic E0162
It turns out that adding new diagnostics is causing link failures
in runpass-full-deps tests. Further investigation pending.
-rw-r--r--src/librustc/diagnostics.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/librustc/diagnostics.rs b/src/librustc/diagnostics.rs
index 10fff4db8d6..0e85d7cc075 100644
--- a/src/librustc/diagnostics.rs
+++ b/src/librustc/diagnostics.rs
@@ -19,11 +19,6 @@ register_diagnostic!(E0001, r##"
     one is too specific or the ordering is incorrect.
 "##)
 
-register_diagnostic!(E0162, r##"
-    This error is produced by an `if let` expression where the pattern is irrefutable.
-    An `if let` that can never fail is considered an error.
-"##)
-
 register_diagnostics!(
     E0002,
     E0003,
@@ -156,5 +151,6 @@ register_diagnostics!(
     E0157,
     E0158,
     E0159,
-    E0161
+    E0161,
+    E0162
 )