collapsible <> collspible
This commit is contained in:
parent
73b7cb9c49
commit
e475dde097
@ -29,7 +29,7 @@ LL | | db.help(help_msg);
|
||||
LL | | });
|
||||
| |__________^ help: collapse into: `span_lint_and_help(cx, TEST_LINT, expr.span, lint_msg, None, help_msg)`
|
||||
|
||||
error: this call is collspible
|
||||
error: this call is collapsible
|
||||
--> $DIR/collapsible_span_lint_calls.rs:45:9
|
||||
|
|
||||
LL | / span_lint_and_then(cx, TEST_LINT, expr.span, lint_msg, |db| {
|
||||
@ -37,7 +37,7 @@ LL | | db.span_note(expr.span, note_msg);
|
||||
LL | | });
|
||||
| |__________^ help: collapse into: `span_lint_and_note(cx, TEST_LINT, expr.span, lint_msg, Some(expr.span), note_msg)`
|
||||
|
||||
error: this call is collspible
|
||||
error: this call is collapsible
|
||||
--> $DIR/collapsible_span_lint_calls.rs:48:9
|
||||
|
|
||||
LL | / span_lint_and_then(cx, TEST_LINT, expr.span, lint_msg, |db| {
|
||||
|
Loading…
x
Reference in New Issue
Block a user