]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/redundant_clone.rs
Replace `#[allow]` with `#[expect]` in Clippy
[rust.git] / clippy_lints / src / redundant_clone.rs
index 1507c75ff612314236bb2b2ed5be935a9fa9088e..954e702a1f8875e49db76c5c80f5a795762c5703 100644 (file)
@@ -71,7 +71,7 @@ macro_rules! unwrap_or_continue {
 declare_lint_pass!(RedundantClone => [REDUNDANT_CLONE]);
 
 impl<'tcx> LateLintPass<'tcx> for RedundantClone {
-    #[allow(clippy::too_many_lines)]
+    #[expect(clippy::too_many_lines)]
     fn check_fn(
         &mut self,
         cx: &LateContext<'tcx>,