diff options
| author | Saleem Jaffer <saleem@acko.com> | 2019-03-21 00:37:08 +0530 |
|---|---|---|
| committer | Saleem Jaffer <saleem@acko.com> | 2019-03-21 22:13:09 +0530 |
| commit | cf2f1bb072c76ed45882e1a69ed7b8ec96bad0e9 (patch) | |
| tree | 0b87d2b055642a0404ef9b7441a8a43e1e4ef208 /src/librustc_codegen_ssa | |
| parent | 8829ddadc4f82b43a8653dd1f40839513b6fb2f0 (diff) | |
| download | rust-cf2f1bb072c76ed45882e1a69ed7b8ec96bad0e9.tar.gz rust-cf2f1bb072c76ed45882e1a69ed7b8ec96bad0e9.zip | |
review fixes
Diffstat (limited to 'src/librustc_codegen_ssa')
| -rw-r--r-- | src/librustc_codegen_ssa/mir/block.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/librustc_codegen_ssa/mir/block.rs b/src/librustc_codegen_ssa/mir/block.rs index 62f454f1b9f..066b38be3db 100644 --- a/src/librustc_codegen_ssa/mir/block.rs +++ b/src/librustc_codegen_ssa/mir/block.rs @@ -622,13 +622,13 @@ impl<'a, 'tcx: 'a, Bx: BuilderMethods<'a, 'tcx>> FunctionCx<'a, 'tcx, Bx> { // and we can then extract the value by evaluating the promoted. mir::Operand::Copy( Place::Base(PlaceBase::Static( - box mir::Static {promoted: Some(promoted), ty, ..} - )) + box mir::Static {promoted: Some(promoted), ty, ..} + )) ) | mir::Operand::Move( Place::Base(PlaceBase::Static( - box mir::Static {promoted: Some(promoted), ty, ..} - )) + box mir::Static {promoted: Some(promoted), ty, ..} + )) ) => { let param_env = ty::ParamEnv::reveal_all(); let cid = mir::interpret::GlobalId { |
