diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2023-09-21 13:25:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-21 13:25:40 +0200 |
| commit | 0d2c603b12a5e9bedbde452f203355a3f66efab6 (patch) | |
| tree | da4a84dc2eb4c788e9b960f5ae4a850b202ea194 /compiler/rustc_query_system | |
| parent | 208f6ed95cbca95a0a4f28dd6a72524f1734a533 (diff) | |
| parent | 667bba46b0dc1ed5f481431c48c24b8326e099a1 (diff) | |
| download | rust-0d2c603b12a5e9bedbde452f203355a3f66efab6.tar.gz rust-0d2c603b12a5e9bedbde452f203355a3f66efab6.zip | |
Rollup merge of #116007 - m-ou-se:const-panic-fmt-panic-display, r=oli-obk
Call panic_display directly in const_panic_fmt. `panic_str` just directly calls `panic_display`. The only reason `panic_str` exists, is for a lint to detect an expansion of `panic_2015!(expr)` (which expands to `panic_str`). It is `panic_display` that is hooked by const-eval, which is the reason we call it here. Part of https://github.com/rust-lang/rust/issues/116005 r? ``@oli-obk``
Diffstat (limited to 'compiler/rustc_query_system')
0 files changed, 0 insertions, 0 deletions
