Redact string panics (#51248)

String panics are a non-trivial percentage of the crashes we see at Zed,
and
doubly unfortunately they may incidentally include the contents of a
user's
buffer.

Although this hasn't happened yet (to my knowledge), I don't want to be
in the position of having received sensitive information this way.

See also https://github.com/rust-lang/rust/pull/153677

Release Notes:

- N/A
f0e301cea0Conrad Irwin committed on 3/11/2026, 3:08:39 AM· committed by GitHubparent86a7572
5 files changedLine totals unavailable