fix a false negative on needless_return
This commit is contained in:
parent
db6ea84f87
commit
53260df2fa
@ -223,6 +223,7 @@ fn check_final_expr<'tcx>(
|
|||||||
},
|
},
|
||||||
_ => (),
|
_ => (),
|
||||||
},
|
},
|
||||||
|
ExprKind::DropTemps(expr) => check_final_expr(cx, expr, None, RetReplacement::Empty),
|
||||||
_ => (),
|
_ => (),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user