Moved and rename issue-50411 to tests/ui/mir/inliner-double-elaborate

* Move issue-50411 to tests/ui/mir/inliner-double-elaborate
* Addded the link for the issue to inliner-double-elaborate.rs
* Fix tidy issues
* Renamed to inliner-double-elaborate.rs
This commit is contained in:
Aryan Dubey
2026-03-25 10:13:13 +00:00
parent 1eeba934ae
commit 2a543acbaf
@@ -1,4 +1,4 @@
// Regression test for #50411: the MIR inliner was causing problems
// Regression test for https://github.com/rust-lang/rust/issues/50411: the MIR inliner was causing problems
// here because it would inline promoted code (which had already had
// elaborate-drops invoked on it) and then try to elaboate drops a
// second time. Uncool.