This has been merged into Rust as of <https://github.com/rust-lang/rust/pull/35954>.