Rustup to rustc 1.15.0-nightly (0ed951993 2016-11-14)

This commit is contained in:
mcarton
2016-11-16 21:57:56 +01:00
parent bad26a5aca
commit 19c5f5394b
53 changed files with 237 additions and 246 deletions

View File

@@ -114,7 +114,7 @@ impl LateLintPass for StringAdd {
}
fn is_string(cx: &LateContext, e: &Expr) -> bool {
match_type(cx, walk_ptrs_ty(cx.tcx.expr_ty(e)), &paths::STRING)
match_type(cx, walk_ptrs_ty(cx.tcx.tables().expr_ty(e)), &paths::STRING)
}
fn is_add(cx: &LateContext, src: &Expr, target: &Expr) -> bool {