diff options
| author | Oğuz Ağcayazı <ouz.agz@gmail.com> | 2023-11-09 12:11:41 +0300 |
|---|---|---|
| committer | ouz-a <ouz.agz@gmail.com> | 2023-11-17 13:28:07 +0300 |
| commit | ebd9c145f600245ec66d0ddf4c0129874c10ecb8 (patch) | |
| tree | a65fbd269f18a7ad0b228d0ac92badbba22fc786 /compiler/stable_mir/src/mir | |
| parent | 0f0e9baf199d022c6a93bb36353358a101c4b4f5 (diff) | |
| download | rust-ebd9c145f600245ec66d0ddf4c0129874c10ecb8.tar.gz rust-ebd9c145f600245ec66d0ddf4c0129874c10ecb8.zip | |
better formatting for statements
Diffstat (limited to 'compiler/stable_mir/src/mir')
| -rw-r--r-- | compiler/stable_mir/src/mir/visit.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/stable_mir/src/mir/visit.rs b/compiler/stable_mir/src/mir/visit.rs index d6304d3ea39..40bedd67352 100644 --- a/compiler/stable_mir/src/mir/visit.rs +++ b/compiler/stable_mir/src/mir/visit.rs @@ -157,7 +157,7 @@ pub trait MirVisitor { fn super_local_decl(&mut self, local: Local, decl: &LocalDecl) { let _ = local; - let LocalDecl { ty, span } = decl; + let LocalDecl { ty, span, .. } = decl; self.visit_ty(ty, Location(*span)); } |
