X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flintlist%2Fmod.rs;h=8c49a3b183806e736e74cc3d9afb41bab0f50dbd;hb=1e6c6976dd12406d2b57de17f1f667527d7977c6;hp=f28bbf31539d0da5dea1a7d0e06a3d6011058794;hpb=e5a77223f5a4ac8def49d1118138a5e6fe2a05e8;p=rust.git diff --git a/src/lintlist/mod.rs b/src/lintlist/mod.rs index f28bbf31539..8c49a3b1838 100644 --- a/src/lintlist/mod.rs +++ b/src/lintlist/mod.rs @@ -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", @@ -758,7 +758,7 @@ }, Lint { name: "integer_division", - group: "pedantic", + group: "restriction", desc: "integer division may cause loss of precision", deprecation: None, module: "integer_division", @@ -1820,6 +1820,13 @@ 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",