This is not the one I remember but another one that does part of what I'm describing.

https://github.com/rust-lang/rust/pull/145354