mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 15:50:05 +03:00
8e9c93df46
Recover error strings on Unix from_lossy_utf8 Some language settings can result in unreliable UTF-8 being produced. This can result in failing to emit the error string, panicking instead. from_lossy_utf8 allows us to assume these strings usually will be fine. This fixes rust-lang#99535.