rust-analyzer/crates/test-utils
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 internal: switch to tracing from log 2024-01-30 12:27:31 -05:00