Skip to content

Commit

Permalink
Temporarily remove the description for the diagnostic E0162
Browse files Browse the repository at this point in the history
It turns out that adding new diagnostics is causing link failures
in runpass-full-deps tests. Further investigation pending.
  • Loading branch information
Jakub Wieczorek committed Sep 30, 2014
1 parent 5254ccc commit e723051
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/librustc/diagnostics.rs
Expand Up @@ -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,
Expand Down Expand Up @@ -156,5 +151,6 @@ register_diagnostics!(
E0157,
E0158,
E0159,
E0161
E0161,
E0162
)

10 comments on commit e723051

@sfackler
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

r=kballard

@bors
Copy link
Contributor

@bors bors commented on e723051 Sep 30, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on e723051 Sep 30, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging jakub-/rust/if_let = e723051 into auto

@bors
Copy link
Contributor

@bors bors commented on e723051 Sep 30, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jakub-/rust/if_let = e723051 merged ok, testing candidate = 60c4c7d4

@bors
Copy link
Contributor

@bors bors commented on e723051 Sep 30, 2014

@bors
Copy link
Contributor

@bors bors commented on e723051 Sep 30, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on e723051 Sep 30, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging jakub-/rust/if_let = e723051 into auto

@bors
Copy link
Contributor

@bors bors commented on e723051 Sep 30, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

jakub-/rust/if_let = e723051 merged ok, testing candidate = 57a05cf

@bors
Copy link
Contributor

@bors bors commented on e723051 Oct 1, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on e723051 Oct 1, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = 57a05cf

Please sign in to comment.