Skip to content

Commit e723051

Browse files
author
Jakub Wieczorek
committed
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.
1 parent 5254ccc commit e723051

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/librustc/diagnostics.rs

+2-6
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,6 @@ register_diagnostic!(E0001, r##"
1919
one is too specific or the ordering is incorrect.
2020
"##)
2121

22-
register_diagnostic!(E0162, r##"
23-
This error is produced by an `if let` expression where the pattern is irrefutable.
24-
An `if let` that can never fail is considered an error.
25-
"##)
26-
2722
register_diagnostics!(
2823
E0002,
2924
E0003,
@@ -156,5 +151,6 @@ register_diagnostics!(
156151
E0157,
157152
E0158,
158153
E0159,
159-
E0161
154+
E0161,
155+
E0162
160156
)

0 commit comments

Comments
 (0)