Rustup to 2018-05-16

This commit is contained in:
Mateusz Mikuła
2018-05-17 11:21:15 +02:00
committed by Mateusz Mikuła
parent 1af2f20da6
commit f0c823a85e
25 changed files with 40 additions and 41 deletions

View File

@@ -123,7 +123,7 @@ fn is_string(cx: &LateContext, e: &Expr) -> bool {
fn is_add(cx: &LateContext, src: &Expr, target: &Expr) -> bool {
match src.node {
ExprBinary(Spanned { node: BiAdd, .. }, ref left, _) => SpanlessEq::new(cx).eq_expr(target, left),
ExprBlock(ref block) => {
ExprBlock(ref block, _) => {
block.stmts.is_empty()
&& block
.expr