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

@ -91,7 +91,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for Pass {
self.last.is_none(),
let Some(ref expr) = block.expr,
match_type(cx, cx.tables.expr_ty(expr), &paths::REGEX),
let Some(span) = is_expn_of(cx, expr.span, "regex"),
let Some(span) = is_expn_of(expr.span, "regex"),
], {
if !self.spans.contains(&span) {
span_lint(cx,