]> git.lizzy.rs Git - rust.git/commit
Auto merge of #91164 - Badel2:usefulness-stack-overflow, r=davidtwco
authorbors <bors@rust-lang.org>
Fri, 26 Nov 2021 13:42:35 +0000 (13:42 +0000)
committerbors <bors@rust-lang.org>
Fri, 26 Nov 2021 13:42:35 +0000 (13:42 +0000)
commit454cc5fb86be180b3ec1138b6f2b480fbf3f1388
tree618d3a042df21961cf8987774e019c8f1b3dbbe4
parent1e79d79dac11ce121b972fbaa0db9b0d1756b991
parent6955afe8fd16d51b2c617d69f89a9eac5b7fd150
Auto merge of #91164 - Badel2:usefulness-stack-overflow, r=davidtwco

Fix stack overflow in `usefulness.rs`

Fix #88747

Applied the suggestion from `@nbdd0121,` not sure if this has any drawbacks. The first call to `ensure_sufficient_stack` is not needed to fix the test case, but I added it to be safe.