Re-implement rust string highlighting via tool attribute

This commit is contained in:
Lukas Wirth 2025-01-10 13:49:35 +01:00
parent 897f7e579e
commit bf669dab84
72 changed files with 386 additions and 173 deletions

View file

@ -148,7 +148,7 @@ mod tests {
use crate::fixture;
fn check(ra_fixture: &str, expect: expect_test::Expect) {
fn check(#[rust_analyzer::rust_fixture] ra_fixture: &str, expect: expect_test::Expect) {
let (analysis, file_id) = fixture::file(ra_fixture);
let syn = analysis.view_syntax_tree(file_id).unwrap();
expect.assert_eq(&syn)