parent
718558064d
commit
c56f72da35
|
@ -155,7 +155,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for EqOp {
|
||||||
left.span,
|
left.span,
|
||||||
"use the left value directly",
|
"use the left value directly",
|
||||||
lsnip,
|
lsnip,
|
||||||
Applicability::MachineApplicable, // snippet
|
Applicability::MaybeIncorrect, // FIXME #2597
|
||||||
);
|
);
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -173,7 +173,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for EqOp {
|
||||||
right.span,
|
right.span,
|
||||||
"use the right value directly",
|
"use the right value directly",
|
||||||
rsnip,
|
rsnip,
|
||||||
Applicability::MachineApplicable, // snippet
|
Applicability::MaybeIncorrect, // FIXME #2597
|
||||||
);
|
);
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue