]> git.lizzy.rs Git - rust.git/blobdiff - src/lintlist/mod.rs
PR comments
[rust.git] / src / lintlist / mod.rs
index f28bbf31539d0da5dea1a7d0e06a3d6011058794..8c49a3b183806e736e74cc3d9afb41bab0f50dbd 100644 (file)
@@ -6,7 +6,7 @@
 pub use lint::LINT_LEVELS;
 
 // begin lint list, do not remove this comment, it’s used in `update_lints`
-pub const ALL_LINTS: [Lint; 305] = [
+pub const ALL_LINTS: [Lint; 306] = [
     Lint {
         name: "absurd_extreme_comparisons",
         group: "correctness",
     },
     Lint {
         name: "integer_division",
-        group: "pedantic",
+        group: "restriction",
         desc: "integer division may cause loss of precision",
         deprecation: None,
         module: "integer_division",
         deprecation: None,
         module: "trivially_copy_pass_by_ref",
     },
+    Lint {
+        name: "try_err",
+        group: "style",
+        desc: "return errors explicitly rather than hiding them behind a `?`",
+        deprecation: None,
+        module: "try_err",
+    },
     Lint {
         name: "type_complexity",
         group: "complexity",