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-06-01 18:21:42 +00:00
2023-07-04 15:54:18 +02:00
2023-02-20 12:58:11 +01:00
2023-06-27 23:31:06 +00:00
2023-07-18 21:53:34 -04:00
2023-02-22 08:40:47 -07:00
2023-07-29 07:48:44 +00:00
2023-08-01 14:15:09 +00:00
2023-05-05 21:42:54 +01:00
2023-04-25 19:53:09 +00:00
2023-02-23 10:27:06 -07:00
2023-06-01 18:21:42 +00:00
2023-05-05 21:42:54 +01:00
2023-05-05 21:42:54 +01:00
2023-05-01 15:45:28 +00:00
2023-05-01 15:45:28 +00:00
2023-01-27 19:26:04 +01:00
2023-01-27 19:26:04 +01:00
2023-03-08 00:12:33 +00:00
2023-03-08 00:12:33 +00:00
2023-03-19 03:45:47 +00:00
2023-03-19 03:45:47 +00:00
2023-05-05 21:42:54 +01:00
2023-05-05 21:42:54 +01:00
2023-06-15 12:01:38 +02:00
2023-06-15 12:01:38 +02:00
2023-05-05 21:42:54 +01:00
2023-05-05 21:42:54 +01:00
2023-07-10 20:09:26 +00:00
2023-02-09 10:26:49 +00:00
2023-02-09 10:26:49 +00:00
2023-05-05 21:42:54 +01:00
2023-05-05 21:42:54 +01:00
2023-01-18 04:07:39 +00:00
2023-02-16 15:14:45 +11:00
2023-05-05 21:42:54 +01:00
2023-06-06 09:37:30 +02:00
2023-06-06 09:37:30 +02:00
2023-06-06 09:37:30 +02:00
2023-06-01 18:21:42 +00:00
2023-06-01 18:21:42 +00:00
2023-01-18 04:07:39 +00:00
2023-02-21 05:21:07 +00:00
2023-06-27 23:31:06 +00:00
2023-06-01 18:21:42 +00:00
2023-02-21 05:21:07 +00:00
2023-06-01 18:21:42 +00:00
2023-06-01 18:21:42 +00:00
2023-02-23 10:27:06 -07:00
2023-02-23 10:27:06 -07:00
2023-02-23 10:27:06 -07:00
2023-02-23 10:27:06 -07:00
2023-02-23 10:27:06 -07:00
2023-06-01 18:21:42 +00:00
2023-06-01 18:21:42 +00:00
2023-05-05 21:42:54 +01:00
2023-05-05 21:42:54 +01:00
2023-06-01 18:21:42 +00:00
2023-06-01 18:21:42 +00:00
2023-06-01 18:21:42 +00:00
2023-06-01 18:21:42 +00:00
2023-07-27 15:51:02 +00:00
2023-07-27 15:51:02 +00:00
2023-01-19 15:39:05 +01:00
2023-06-11 16:12:59 +08:00
2023-06-19 20:00:41 +00:00
2023-02-17 09:32:39 +00:00
2023-04-28 11:56:02 +00:00
2023-05-05 21:42:54 +01:00
2023-05-05 21:42:54 +01:00
2023-06-01 18:21:42 +00:00
2023-05-04 11:22:40 +01:00
2023-05-04 11:22:40 +01:00
2023-04-07 11:18:07 -07:00
2023-04-07 11:18:07 -07:00
2023-04-07 11:18:07 -07:00
2023-07-11 17:52:43 +08:00
2023-04-07 11:18:07 -07:00
2023-03-09 20:49:11 +00:00
2023-07-11 17:52:43 +08:00
2023-03-09 20:49:11 +00:00
2023-03-09 20:49:11 +00:00
2023-01-30 20:12:19 +00:00
2023-01-30 20:12:19 +00:00
2023-02-21 05:21:07 +00:00
2023-01-14 15:49:08 +00:00
2023-01-14 15:49:08 +00:00
2023-01-14 15:49:08 +00:00
2023-05-05 21:42:54 +01:00
2023-05-05 21:42:54 +01:00
2023-05-05 21:42:54 +01:00
2023-02-10 14:44:54 +01:00
2023-02-13 18:41:18 +00:00