about summary refs log tree commit diff
path: root/src/tools/rust-analyzer/crates/syntax
AgeCommit message (Collapse)AuthorLines
2024-04-30braces around {self} in UseTree are not unnecessaryHarry Sarson-2/+19
Before this commit `UseTree::remove_unnecessary_braces` removed the braces around `{self}` in `use x::y::{self};` but `use x::y::self;` is not valid rust.
2024-04-21Auto merge of #16938 - Nilstrieb:dont-panic-tests, r=Veykrilbors-0/+1
Implement `BeginPanic` handling in const eval for #16935, needs some figuring out of how to write these tests correctly
2024-04-21Allow rust files to be used linkedProjectsLukas Wirth-0/+16203
2024-04-18Fixup some issues with minicoreLukas Wirth-0/+1
2024-04-18Handle panicking like rustc CTFE doesNilstrieb-0/+16202
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.