mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 13:05:18 +03:00
f5f1abd8fb
This PR just makes sure that we exit the function before getting an ICE and adds a regression test. Related to #12979. We would need to keep researching the issue, but as the ICEing code isn't that complicated, getting a hotfix into nightly is urgent. changelog:[`borrow_interior_mutable_const`] Fix ICE #12979