]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/as_conversions.rs
Merge commit '4911ab124c481430672a3833b37075e6435ec34d' into clippyup
[rust.git] / clippy_lints / src / as_conversions.rs
index 4d8bbcd310240df6de2cd1a0da5fd75db729701d..0c8efd755146ec2f03426b0b2f0d8c1950d6e957 100644 (file)
@@ -50,6 +50,7 @@ fn check_expr(&mut self, cx: &EarlyContext<'_>, expr: &Expr) {
                 AS_CONVERSIONS,
                 expr.span,
                 "using a potentially dangerous silent `as` conversion",
+                None,
                 "consider using a safe wrapper for this conversion",
             );
         }