rustc: Improve lint descriptions

Improves the description of `dead_code` and `unreachable_code` to
clarify the difference between them.
This commit is contained in:
Aaron Turon 2014-10-14 11:32:15 -07:00
parent d6eb719729
commit 3c0d2a7c90
1 changed files with 2 additions and 2 deletions

View File

@ -1585,10 +1585,10 @@ declare_lint!(pub UNUSED_ASSIGNMENTS, Warn,
"detect assignments that will never be read")
declare_lint!(pub DEAD_CODE, Warn,
"detect piece of code that will never be used")
"detect unused, unexported items")
declare_lint!(pub UNREACHABLE_CODE, Warn,
"detects unreachable code")
"detects unreachable code paths")
declare_lint!(pub WARNINGS, Warn,
"mass-change the level for lints which produce warnings")