]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #22366 - dotdash:ret_adjust, r=alexcrichton
authorManish Goregaokar <manishsmail@gmail.com>
Mon, 16 Feb 2015 05:57:43 +0000 (11:27 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Tue, 17 Feb 2015 00:53:37 +0000 (06:23 +0530)
commitf28d89f6fb6e02c3b018cd81bf2ca13c7de3571c
treec74dd6641137a36b3563c07ba3ea5b87d0c195e0
parente0477fa7f956246ee83f9ff2d70febe0d203e352
parent109e1184aa47cad4f866811fc547d7237e73194a
Rollup merge of #22366 - dotdash:ret_adjust, r=alexcrichton

Without the adjustments the retslot might have the wrong type, e.g. when
the return value is implicitly coerced to a trait object.

Fixes #22346
src/librustc_trans/trans/controlflow.rs