-
Notifications
You must be signed in to change notification settings - Fork 12.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add scaffolding for assigning alpha-numeric codes to rustc diagnostics
- Loading branch information
Jakub Wieczorek
committed
Jul 10, 2014
1 parent
7ab9bfa
commit 9b9cce2
Showing
25 changed files
with
466 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Copyright 2014 The Rust Project Developers. See the COPYRIGHT | ||
// file at the top-level directory of this distribution and at | ||
// http://rust-lang.org/COPYRIGHT. | ||
// | ||
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or | ||
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license | ||
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your | ||
// option. This file may not be copied, modified, or distributed | ||
// except according to those terms. | ||
|
||
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. | ||
"##) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
9b9cce2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from brson
at https://github.com/jakub-/rust/commit/9b9cce2316119a2ffdc9556d410e464b7542d64d
9b9cce2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging jakub-/rust/diagnostics = 9b9cce2 into auto
9b9cce2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jakub-/rust/diagnostics = 9b9cce2 merged ok, testing candidate = 0e80dbe
9b9cce2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/273
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/274
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/273
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/274
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/276
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/277
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/276
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/282
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/277
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/276
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/279
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/277
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/277
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/278
9b9cce2
There was a problem hiding this comment.
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 = 0e80dbe