collapsible_if: remove extraneous note output
This was probably a debug addition.
This commit is contained in:
parent
125f08d2c6
commit
d5c808acd0
@ -48,7 +48,6 @@ fn check_expr_expd(cx: &Context, e: &Expr, info: Option<&ExpnInfo>) {
|
||||
if e.span.expn_id != sp.expn_id {
|
||||
return;
|
||||
}
|
||||
cx.sess().note(&format!("{:?} -- {:?}", e.span, sp));
|
||||
span_help_and_lint(cx, COLLAPSIBLE_IF, e.span,
|
||||
"this if statement can be collapsed",
|
||||
&format!("try\nif {} && {} {}",
|
||||
|
Loading…
x
Reference in New Issue
Block a user