]> git.lizzy.rs Git - rust.git/commit
Fix the function return type used in get_res_dtor()
authorBjörn Steinbrink <bsteinbr@gmail.com>
Sat, 8 Aug 2015 13:32:35 +0000 (15:32 +0200)
committerBjörn Steinbrink <bsteinbr@gmail.com>
Sat, 8 Aug 2015 13:32:35 +0000 (15:32 +0200)
commitf804872502587290dcab42eda35301314173cbd7
tree454ff7d7079e9096a3e18587d5cd103ddcb9cd2c
parent1eeaf2065b61cc99f9e5d7f3dd4b77a018ee619f
Fix the function return type used in get_res_dtor()

Instead of the actual return type, we're currently passing the function
type to get_extern_fn(). The only reason this doesn't explode is because
get_extern_fn() actually doesn't care about the actual return type, just
about it being converging or not.
src/librustc_trans/trans/glue.rs