]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui-internal/collapsible_span_lint_calls.rs
Auto merge of #10146 - Nilstrieb:💀, r=llogiq
[rust.git] / tests / ui-internal / collapsible_span_lint_calls.rs
index 6d783aa0786bd3117c8219975971d693cf07a170..2b113f555e46bf38fed4ef19eccfc7214cd5a924 100644 (file)
@@ -55,7 +55,12 @@ fn check_expr(&mut self, cx: &EarlyContext, expr: &Expr) {
             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);
+        });
     }
 }