rust-analyzer/crates/hir-ty
Nilstrieb 805f569adc Handle panicking like rustc CTFE does
Instead of using `core::fmt::format` to format panic messages, which may in turn
panic too and cause recursive panics and other messy things, redirect
`panic_fmt` to `const_panic_fmt` like CTFE, which in turn goes to
`panic_display` and does the things normally. See the tests for the full
call stack.
2024-04-18 12:20:54 +02:00
..
src Handle panicking like rustc CTFE does 2024-04-18 12:20:54 +02:00
Cargo.toml Move Edition into span crate 2024-03-21 10:21:44 +01:00