]> git.proxmox.com Git - rustc.git/blobdiff - src/tools/clippy/tests/ui-internal/collapsible_span_lint_calls.fixed
New upstream version 1.64.0+dfsg1
[rustc.git] / src / tools / clippy / tests / ui-internal / collapsible_span_lint_calls.fixed
index a5a6f20ddd54aeee45784644c2bfe5a0f169a428..9f299d7dec720b51f2c4df8ba2fd7faa3095e165 100644 (file)
@@ -45,7 +45,12 @@ impl EarlyLintPass for Pass {
             if predicate {
                 db.note(note_msg);
             }
-        })
+        });
+
+        // Issue #8798
+        span_lint_and_then(cx, TEST_LINT, expr.span, lint_msg, |db| {
+            db.help(help_msg).help(help_msg);
+        });
     }
 }