diff --git a/src/minmax.rs b/src/minmax.rs index d7a74aa8c8b..72190d70e2e 100644 --- a/src/minmax.rs +++ b/src/minmax.rs @@ -8,7 +8,7 @@ use consts::{Constant, constant_simple}; use utils::{match_path, span_lint}; use self::MinMax::{Min, Max}; -declare_lint!(pub MIN_MAX, Deny, +declare_lint!(pub MIN_MAX, Warn, "`min(_, max(_, _))` (or vice versa) with bounds clamping the result \ to a constant");