about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-06-19 07:57:27 +0000
committerbors <bors@rust-lang.org>2019-06-19 07:57:27 +0000
commit97f8caabf64b4dc3c2e89feeb59330ed2d11127c (patch)
treeb05b8c302655af30d15c17bbee09c90cd94bad17 /src
parent84cfb71caa65378b9b4221918ed29078b8b77014 (diff)
parentf88a387c3fe32119e440ae1e8540067b38626efa (diff)
downloadrust-97f8caabf64b4dc3c2e89feeb59330ed2d11127c.tar.gz
rust-97f8caabf64b4dc3c2e89feeb59330ed2d11127c.zip
Auto merge of #4210 - dtolnay:division, r=flip1995
Downgrade integer_division to restriction

I believe that this lint falls outside of the scope of opinionated pedantism of the other pedantic lints.

changelog: Downgrade integer_division lint from pedantic to restriction
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 f28bbf31539..663b6a5e709 100644
--- a/src/lintlist/mod.rs
+++ b/src/lintlist/mod.rs
@@ -758,7 +758,7 @@ pub const ALL_LINTS: [Lint; 305] = [
     },
     Lint {
         name: "integer_division",
-        group: "pedantic",
+        group: "restriction",
         desc: "integer division may cause loss of precision",
         deprecation: None,
         module: "integer_division",