Rustup to rustc 1.15.0-nightly (0ed951993
2016-11-14)
This commit is contained in:
parent
bad26a5aca
commit
19c5f5394b
53 changed files with 237 additions and 246 deletions
|
@ -91,7 +91,7 @@ impl LateLintPass for Pass {
|
|||
if_let_chain!{[
|
||||
self.last.is_none(),
|
||||
let Some(ref expr) = block.expr,
|
||||
match_type(cx, cx.tcx.expr_ty(expr), &paths::REGEX),
|
||||
match_type(cx, cx.tcx.tables().expr_ty(expr), &paths::REGEX),
|
||||
let Some(span) = is_expn_of(cx, expr.span, "regex"),
|
||||
], {
|
||||
if !self.spans.contains(&span) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue