about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-07-13 14:21:20 +0000
committerbors <bors@rust-lang.org>2020-07-13 14:21:20 +0000
commit4b8700879c59d1673dc36ea16aff3020af23dcc5 (patch)
treee49ddb022fa5dacc464ceb901e0ce9a30f592f07 /src
parentfa4a737fba9b9f32ebe0c54e3734e864af6ea093 (diff)
parent314b068e2dfda364b7da178c374510fbd58129b8 (diff)
downloadrust-4b8700879c59d1673dc36ea16aff3020af23dcc5.tar.gz
rust-4b8700879c59d1673dc36ea16aff3020af23dcc5.zip
Auto merge of #5792 - flip1995:rollup-torc1we, r=flip1995
Rollup of 5 pull requests

Successful merges:

 - #5443 (Some accuracy lints for floating point operations)
 - #5752 (Move range_minus_one to pedantic)
 - #5756 (unnecessary_sort_by: avoid linting if key borrows)
 - #5784 (Fix out of bounds access by checking length equality BEFORE accessing by index.)
 - #5786 (fix phrase in new_lint issue template)

Failed merges:

r? @ghost

changelog: rollup
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 888b4755484..0c77e07c872 100644
--- a/src/lintlist/mod.rs
+++ b/src/lintlist/mod.rs
@@ -1790,7 +1790,7 @@ pub static ref ALL_LINTS: Vec<Lint> = vec![
     },
     Lint {
         name: "range_minus_one",
-        group: "complexity",
+        group: "pedantic",
         desc: "`x..=(y-1)` reads better as `x..y`",
         deprecation: None,
         module: "ranges",