Fix #14557. Docs aliases can now be detected and used in searching for workspace symbols

This commit is contained in:
alibektas 2023-05-14 02:38:03 +02:00 committed by Ali Bektas
parent a512774fd9
commit 1222869b3e
9 changed files with 337 additions and 47 deletions

View file

@ -2232,14 +2232,14 @@ mod tests {
file_id: FileId(
0,
),
full_range: 52..115,
focus_range: 67..75,
name: "foo_test",
full_range: 121..185,
focus_range: 136..145,
name: "foo2_test",
kind: Function,
},
kind: Test {
test_id: Path(
"tests::foo_test",
"tests::foo2_test",
),
attr: TestAttr {
ignore: false,
@ -2253,14 +2253,14 @@ mod tests {
file_id: FileId(
0,
),
full_range: 121..185,
focus_range: 136..145,
name: "foo2_test",
full_range: 52..115,
focus_range: 67..75,
name: "foo_test",
kind: Function,
},
kind: Test {
test_id: Path(
"tests::foo2_test",
"tests::foo_test",
),
attr: TestAttr {
ignore: false,