Files
rust/library
Guillaume Gomez a06532e639 Rollup merge of #133464 - RalfJung:whitespace-panic, r=joboet
std:🧵 avoid leading whitespace in some panic messages

This:
```
        panic!(
            "use of std::thread::current() is not possible after the thread's
         local data has been destroyed"
        )
```
will print a newline followed by a bunch of spaces, since the entire string literal is interpreted literally.

I think the intention was to print the message without the newline and the spaces, so let's add some `\` to make that happen.

r? ``@joboet``
2024-11-26 15:32:17 +01:00
..
2024-08-29 12:13:19 -07:00
2024-07-28 14:46:29 -04:00
2024-11-13 17:58:02 +00:00
2024-11-19 18:54:20 +01:00