bors
828bdc2c26
Auto merge of #112849 - m-ou-se:panic-message-format, r=thomcc
...
Change default panic handler message format.
This changes the default panic hook's message format from:
```
thread '{thread}' panicked at '{message}', {location}
```
to
```
thread '{thread}' panicked at {location}:
{message}
```
This puts the message on its own line without surrounding quotes, making it easiser to read. For example:
Before:
```
thread 'main' panicked at 'env variable `IMPORTANT_PATH` should be set by `wrapper_script.sh`', src/main.rs:4:6
```
After:
```
thread 'main' panicked at src/main.rs:4:6:
env variable `IMPORTANT_PATH` should be set by `wrapper_script.sh`
```
---
See this PR by `@nyurik,` which does that for only multi-line messages (specifically because of `assert_eq`): https://github.com/rust-lang/rust/pull/111071
This is the change that does that for *all* panic messages.
2023-08-01 14:15:09 +00:00
..
2023-01-19 15:46:08 +00:00
2023-04-27 18:25:07 +00:00
2023-04-27 22:29:04 +02:00
2023-07-29 21:19:33 +00:00
2023-07-29 11:42:50 +02:00
2023-05-10 19:36:02 +02:00
2023-07-08 18:21:34 -03:00
2023-03-08 15:37:14 +01:00
2023-04-27 17:18:11 +00:00
2023-04-27 17:18:11 +00:00
2023-04-27 17:18:11 +00:00
2023-01-27 18:58:13 +00:00
2023-05-12 00:10:52 +00:00
2023-01-27 20:10:17 +00:00
2023-04-27 17:18:11 +00:00
2023-04-27 17:18:11 +00:00
2023-01-27 20:10:17 +00:00
2023-04-27 17:18:11 +00:00
2023-04-27 17:18:11 +00:00
2023-04-27 17:18:11 +00:00
2023-01-27 20:10:17 +00:00
2023-02-09 10:26:49 +00:00
2023-04-27 17:18:11 +00:00
2023-03-17 16:01:53 -03:00
2023-03-17 16:01:53 -03:00
2023-03-17 16:01:53 -03:00
2023-03-17 16:01:53 -03:00
2023-01-12 11:58:24 -08:00
2023-04-27 17:18:11 +00:00
2023-04-27 17:18:11 +00:00
2023-07-10 20:09:28 +00:00
2023-01-27 18:58:13 +00:00
2023-02-13 16:23:23 +01:00
2023-01-27 18:58:13 +00:00
2023-06-05 21:00:08 +00:00
2023-04-27 17:18:11 +00:00
2023-04-27 17:18:11 +00:00
2023-04-27 17:18:11 +00:00
2023-01-27 18:58:13 +00:00
2023-06-12 20:24:48 +08:00
2023-03-17 16:01:53 -03:00
2023-03-17 16:01:53 -03:00
2023-07-08 18:21:34 -03:00
2023-07-08 18:21:34 -03:00
2023-04-19 19:13:45 +00:00
2023-04-27 17:18:11 +00:00
2023-04-27 17:18:11 +00:00
2023-04-27 17:18:11 +00:00
2023-01-27 18:58:13 +00:00
2023-06-12 20:24:48 +08:00
2023-03-08 15:37:14 +01:00
2023-02-13 16:23:23 +01:00
2023-02-13 16:23:23 +01:00
2023-07-10 20:09:26 +00:00
2023-04-19 19:13:45 +00:00
2023-04-27 17:18:11 +00:00
2023-04-27 17:18:11 +00:00
2023-04-27 17:18:11 +00:00
2023-01-27 20:10:17 +00:00
2023-04-27 17:18:11 +00:00
2023-04-27 17:18:11 +00:00
2023-04-27 17:18:11 +00:00
2023-01-27 20:10:17 +00:00
2023-04-27 17:18:11 +00:00
2023-04-27 17:18:11 +00:00
2023-04-27 17:18:11 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 18:58:13 +00:00
2023-06-12 20:24:48 +08:00
2023-06-12 20:24:48 +08:00
2023-04-27 17:18:11 +00:00
2023-04-27 17:18:11 +00:00
2023-04-27 17:18:11 +00:00
2023-04-27 17:18:11 +00:00
2023-01-27 20:10:17 +00:00
2023-01-27 20:10:17 +00:00
2023-01-19 21:09:25 +01:00
2023-01-19 21:09:25 +01:00
2023-01-27 20:10:17 +00:00
2023-04-27 17:18:11 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-06-20 19:46:01 -04:00
2023-06-20 19:46:01 -04:00
2023-06-20 19:46:01 -04:00
2023-06-20 19:46:01 -04:00
2023-04-27 17:18:11 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-04-19 17:57:37 +00:00
2023-01-15 19:46:20 +00:00
2023-01-15 19:46:20 +00:00
2023-05-24 19:35:59 -03:00
2023-05-12 00:10:52 +00:00
2023-05-12 00:10:52 +00:00
2023-05-12 00:10:52 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-30 21:51:35 +00:00
2023-04-27 17:18:11 +00:00
2023-04-27 17:18:12 +00:00
2023-01-19 15:46:08 +00:00
2023-03-05 09:34:00 +13:00
2023-03-05 09:34:00 +13:00
2023-03-08 15:37:14 +01:00
2023-03-08 15:37:14 +01:00
2023-03-08 15:37:14 +01:00
2023-04-03 20:45:02 +02:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-03-08 15:37:14 +01:00
2023-03-08 15:37:14 +01:00
2023-06-12 20:24:48 +08:00
2023-04-12 18:03:11 -04:00
2023-01-30 20:12:19 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 18:58:13 +00:00
2023-01-27 20:10:17 +00:00
2023-02-13 16:23:23 +01:00
2023-02-13 16:23:23 +01:00
2023-04-11 11:07:48 +10:00
2023-04-27 18:25:07 +00:00
2023-04-27 18:25:07 +00:00
2023-01-27 20:10:17 +00:00
2023-04-27 17:18:11 +00:00
2023-04-27 17:18:11 +00:00
2023-01-27 20:10:17 +00:00