]> git.lizzy.rs Git - rust.git/commit
Remove type_needs_unwind_cleanup
authorAriel Ben-Yehuda <arielb1@mail.tau.ac.il>
Mon, 29 Jun 2015 22:34:17 +0000 (01:34 +0300)
committerAriel Ben-Yehuda <arielb1@mail.tau.ac.il>
Mon, 29 Jun 2015 22:34:17 +0000 (01:34 +0300)
commit336f81215eb166aad4f8759be0cf284f3321212f
treeb356c37e97e458932a7090c1fe6ce2a8872b3df3
parentbf164bc6e3b81b9999ad4baddb91079a99f49ab4
Remove type_needs_unwind_cleanup

After the last @dinosaur went extinct, the check became redundant with
type_needs_drop, except for its bugginess.

Fixes #26655.
src/librustc_trans/trans/cleanup.rs
src/librustc_trans/trans/common.rs
src/test/run-pass/issue-26655.rs [new file with mode: 0644]