From e723051a2eb840a710f2b79afc1b42b0b707d0e4 Mon Sep 17 00:00:00 2001 From: Jakub Wieczorek Date: Tue, 30 Sep 2014 18:52:40 +0200 Subject: [PATCH] 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. --- src/librustc/diagnostics.rs | 8 ++------ 1 file 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 )