Skip to content

Commit 4039e48

Browse files
committed
---
yaml --- r: 274653 b: refs/heads/stable c: ae151d3 h: refs/heads/master i: 274651: 9cdbafa
1 parent 4629a6f commit 4039e48

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/heads/tmp: e06d2ad9fcd5027bcaac5b08fc9aa39a49d0ecd3
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: c0221c8897db309a79990367476177b1230bb264
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: f50fb159e97eee82b4ff6abaa4003a49d6fe680f
32+
refs/heads/stable: ae151d3945e715b7c61ef7b7e5628b915ea320b7
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

branches/stable/src/librustc_mir/build/expr/into.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ impl<'a,'tcx> Builder<'a,'tcx> {
6363
} else {
6464
// Body of the `if` expression without an `else` clause must return `()`, thus
6565
// we implicitly generate a `else {}` if it is not specified.
66-
this.cfg.push_assign_unit(else_block, expr_span, &Lvalue::ReturnPointer);
66+
this.cfg.push_assign_unit(else_block, expr_span, destination);
6767
else_block
6868
};
6969

0 commit comments

Comments
 (0)