about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/librustc/lint/builtin.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc/lint/builtin.rs b/src/librustc/lint/builtin.rs
index fc62f44493e..76234c41637 100644
--- a/src/librustc/lint/builtin.rs
+++ b/src/librustc/lint/builtin.rs
@@ -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")