about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEduardo Broto <ebroto@tutanota.com>2020-05-11 00:53:31 +0200
committerEduardo Broto <ebroto@tutanota.com>2020-05-13 20:33:32 +0200
commit0f2b1193f9501ffd06f9bf2ea8ab85a4db92f47b (patch)
treecbe09d36ffff18385a5d05751d85c14a0b4da40a /src
parent8ffa0bfaa2452eb9c80bf0f1909b039efc8dd0c3 (diff)
downloadrust-0f2b1193f9501ffd06f9bf2ea8ab85a4db92f47b.tar.gz
rust-0f2b1193f9501ffd06f9bf2ea8ab85a4db92f47b.zip
Remove reverse_range_loop lint
Diffstat (limited to 'src')
-rw-r--r--src/lintlist/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lintlist/mod.rs b/src/lintlist/mod.rs
index 51d1cb2216a..e1a6d4bdd31 100644
--- a/src/lintlist/mod.rs
+++ b/src/lintlist/mod.rs
@@ -1922,11 +1922,11 @@ pub static ref ALL_LINTS: Vec<Lint> = vec![
         module: "methods",
     },
     Lint {
-        name: "reverse_range_loop",
+        name: "reversed_empty_ranges",
         group: "correctness",
-        desc: "iteration over an empty range, such as `10..0` or `5..5`",
+        desc: "reversing the limits of range expressions, resulting in empty ranges",
         deprecation: None,
-        module: "loops",
+        module: "ranges",
     },
     Lint {
         name: "same_functions_in_if_condition",