diff options
| author | Roxane <roxane.fruytier@hotmail.com> | 2021-03-29 22:48:44 -0400 |
|---|---|---|
| committer | Roxane <roxane.fruytier@hotmail.com> | 2021-04-02 19:11:50 -0400 |
| commit | 0a97eee8df1f4a3182cd92786258ee5cf2baa43f (patch) | |
| tree | ff57df5c2cb332e3f2036c1112c9cdb72e21d9c5 /compiler/rustc_mir_build/src | |
| parent | 2fb1fb7634b79d93d48749ee1f84d4ba552b186f (diff) | |
| download | rust-0a97eee8df1f4a3182cd92786258ee5cf2baa43f.tar.gz rust-0a97eee8df1f4a3182cd92786258ee5cf2baa43f.zip | |
Reduce size of statements
Diffstat (limited to 'compiler/rustc_mir_build/src')
| -rw-r--r-- | compiler/rustc_mir_build/src/build/cfg.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_build/src/build/cfg.rs b/compiler/rustc_mir_build/src/build/cfg.rs index e562e52f841..fd4a783d12a 100644 --- a/compiler/rustc_mir_build/src/build/cfg.rs +++ b/compiler/rustc_mir_build/src/build/cfg.rs @@ -80,7 +80,7 @@ impl<'tcx> CFG<'tcx> { cause: FakeReadCause, place: Place<'tcx>, ) { - let kind = StatementKind::FakeRead(cause, box place); + let kind = StatementKind::FakeRead(box (cause, place)); let stmt = Statement { source_info, kind }; self.push(block, stmt); } |
