1
Fork 0

Remove unused cs parameter for is_macro and friends

This commit is contained in:
Enrico Schmitz 2017-04-01 00:14:04 +02:00 committed by Enrico Schmitz
parent 8aef64dfe8
commit 7a4f7c335b
29 changed files with 53 additions and 53 deletions

View file

@ -61,7 +61,7 @@ impl LintPass for LenZero {
impl<'a, 'tcx> LateLintPass<'a, 'tcx> for LenZero {
fn check_item(&mut self, cx: &LateContext<'a, 'tcx>, item: &'tcx Item) {
if in_macro(cx, item.span) {
if in_macro(item.span) {
return;
}
@ -73,7 +73,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for LenZero {
}
fn check_expr(&mut self, cx: &LateContext<'a, 'tcx>, expr: &'tcx Expr) {
if in_macro(cx, expr.span) {
if in_macro(expr.span) {
return;
}