collapsible_if: remove extraneous note output
This was probably a debug addition.
This commit is contained in:
parent
5225feceaa
commit
88047a0953
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue