This commit is contained in:
Yuki Okushi 2020-01-29 17:15:56 +09:00
parent 5b42a76792
commit 66524c5be0

View File

@ -334,7 +334,7 @@ fn base_local_and_movability<'tcx>(
&& has_drop(cx, mir::Place::ty_from(local, projection, &mir.local_decls, cx.tcx).ty);
}
Some((*local, deref || field))
Some((local, deref || field))
}
struct LocalUseVisitor {