]> git.lizzy.rs Git - rust.git/blobdiff - clippy_lints/src/print.rs
Rustup
[rust.git] / clippy_lints / src / print.rs
index a6eb5c5dfda92748c6928ce540642a1d1080bb90..a7f498af5c21f389543611021e99c9aac4303a70 100644 (file)
@@ -141,7 +141,7 @@ fn is_in_debug_impl(cx: &LateContext, expr: &Expr) -> bool {
     if let Some(NodeImplItem(item)) = map.find(map.get_parent(expr.id)) {
         // `Debug` impl
         if let Some(NodeItem(item)) = map.find(map.get_parent(item.id)) {
-            if let ItemImpl(_, _, _, Some(ref tr), _, _) = item.node {
+            if let ItemImpl(_, _, _, _, Some(ref tr), _, _) = item.node {
                 return match_path_old(&tr.path, &["Debug"]);
             }
         }