We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6181102 commit 2b71acaCopy full SHA for 2b71aca
crates/ide/src/references.rs
@@ -329,6 +329,27 @@ fn test() {
329
FileId(0) 75..84 Test
330
"#]],
331
);
332
+
333
+ check(
334
+ r#"
335
+fn test_func() {}
336
337
+fn func() {
338
+ test_func$0();
339
+}
340
341
+#[::core::prelude::v1::test]
342
+fn test() {
343
+ test_func();
344
345
+"#,
346
+ expect![[r#"
347
+ test_func Function FileId(0) 0..17 3..12
348
349
+ FileId(0) 35..44
350
+ FileId(0) 96..105 Test
351
+ "#]],
352
+ );
353
}
354
355
#[test]
0 commit comments