diff options
| author | Yuki Okushi <jtitor@2k36.org> | 2021-06-08 13:26:31 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-08 13:26:31 +0900 |
| commit | b7d05f816547a780622046cb716dfdb401fee93c (patch) | |
| tree | 90bcdbde3dcef4ae4401fce95a7a82e7d0a00e7e /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | c3028101a22b8f67457221267e7f35dfd8a15c0d (diff) | |
| parent | 8330233ba751778f8571c8879f85612fd2d9fb9a (diff) | |
| download | rust-b7d05f816547a780622046cb716dfdb401fee93c.tar.gz rust-b7d05f816547a780622046cb716dfdb401fee93c.zip | |
Rollup merge of #86074 - reaganmcf:iss-86039, r=jyn514
Default panic message should print Box<dyn Any>
Closes #86039
Prior to this patch, the panic message from running the following code would be `thread 'main' panicked at 'Box<Any>'...`
```rust
use std::panic::panic_any;
fn main() {
panic_any(42);
}
```
This patch updates the phrasing to be more consistent. It now instead shows the following panic message:
```
thread 'main' panicked at 'Box<dyn Any>', ...
```
It's a very small fix 😄
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
