mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-14 09:46:00 +00:00
Re-implement rust string highlighting via tool attribute
This commit is contained in:
parent
897f7e579e
commit
bf669dab84
72 changed files with 386 additions and 173 deletions
|
|
@ -220,7 +220,9 @@ mod tests {
|
|||
use crate::fixture;
|
||||
use expect_test::expect;
|
||||
|
||||
fn make_memory_layout(ra_fixture: &str) -> Option<RecursiveMemoryLayout> {
|
||||
fn make_memory_layout(
|
||||
#[rust_analyzer::rust_fixture] ra_fixture: &str,
|
||||
) -> Option<RecursiveMemoryLayout> {
|
||||
let (analysis, position, _) = fixture::annotations(ra_fixture);
|
||||
|
||||
view_memory_layout(&analysis.db, position)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue