mirror of
https://github.com/allankoechke/rust.git
synced 2026-11-30 11:05:36 +00:00
stop unleaking `&mut`s in std and the compiler As discussed on [zulip](https://rust-lang.zulipchat.com/#narrow/channel/136281-t-opsem/topic/What.20is.20the.20current.20state.20of.20unleaking.20a.20.60Box.3CT.2C.20Global.3E.60.3F/with/623860839), this PR removes all the dubious uses (I could find) of `Box::leak` from rustc and std r? libs