mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-27 02:53:43 +00:00
rustc_arena: add `alloc_str` Two places called `from_utf8_unchecked` for strings from `alloc_slice`, and one's SAFETY comment said this was for lack of `alloc_str` -- so let's just add that instead!
For more information about how rustc works, see the rustc dev guide.