summary refs log tree commit diff
path: root/src/tools/rust-analyzer/crates/test-utils
AgeCommit message (Collapse)AuthorLines
2024-04-21Peek for panic message in test outputLukas Wirth-1/+4
2024-04-18Fix #[rustc_const_panic_str] functions not actually being hookedLukas Wirth-1/+2
2024-04-18Fixup some issues with minicoreLukas Wirth-8/+30
2024-04-18Fix missing function body in minicoreLukas Wirth-2/+3
2024-04-18Handle panicking like rustc CTFE doesNilstrieb-0/+2811
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.