mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
commit
a6f4cf7740
@ -280,7 +280,7 @@ impl<'tcx> mir::visit::Visitor<'tcx> for LocalUseVisitor {
|
||||
fn visit_local(&mut self, local: &mir::Local, ctx: PlaceContext<'tcx>, _: mir::Location) {
|
||||
match ctx {
|
||||
PlaceContext::MutatingUse(MutatingUseContext::Drop) | PlaceContext::NonUse(NonUseContext::StorageDead) => {
|
||||
return
|
||||
return;
|
||||
},
|
||||
_ => {},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user