mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-03 10:47:16 +00:00

this will eliminate many short-lived allocations (e.g. 20% of the memory used building cargo) when unpacking the diagnostic and converting its various C++ strings into rust strings, just to be filtered out most of the time.