rust-analyzer/crates/ide
Nilstrieb 2dfe7de8b6 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-03-24 15:40:26 +01:00
..
src Handle panicking like rustc CTFE does 2024-03-24 15:40:26 +01:00
Cargo.toml Move Edition into span crate 2024-03-21 10:21:44 +01:00