about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorVali Schneider <eval@fb.com>2020-08-27 16:55:23 -0700
committerVali Schneider <eval@fb.com>2020-08-27 16:55:23 -0700
commitb006522393a3c3c2656e1ccdfbb0076ff1bd7e99 (patch)
tree2e71e6d1345e8237b646d941b92c38d329034667 /src
parentb2d8ca9a766703469178ea37d4d46067bb6fa926 (diff)
added lint for todo and removed option
Diffstat (limited to 'src')
-rw-r--r--src/lintlist/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lintlist/mod.rs b/src/lintlist/mod.rs
index b4f20ca7f14..1f56c56f081 100644
--- a/src/lintlist/mod.rs
+++ b/src/lintlist/mod.rs
@@ -1707,7 +1707,7 @@ pub static ref ALL_LINTS: Vec<Lint> = vec![
     Lint {
         name: "panic_in_result",
         group: "restriction",
-        desc: "functions of type `Result<..>` / `Option`<...> that contain `panic!()` or `unreachable()` or `unimplemented()` ",
+        desc: "functions of type `Result<..>` that contain `panic!()`, `todo!()` or `unreachable()` or `unimplemented()` ",
         deprecation: None,
         module: "panic_in_result",
     },