aboutsummaryrefslogtreecommitdiff
path: root/crates/ide
diff options
context:
space:
mode:
authorLukas Wirth <[email protected]>2021-03-16 14:28:02 +0000
committerLukas Wirth <[email protected]>2021-03-16 14:28:02 +0000
commit75fafd6fcc010c71d770d19bea4b744b92c5267b (patch)
tree8a2426ff2bb880689a331203346c5dc2229fbb37 /crates/ide
parente97cd709cd91ccfafbd45bab8b2bf01f3ddf6a04 (diff)
Add new_source_root meta to test fixtures
Diffstat (limited to 'crates/ide')
-rw-r--r--crates/ide/src/references.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/ide/src/references.rs b/crates/ide/src/references.rs
index fc85cd0ce..e10a3ccf7 100644
--- a/crates/ide/src/references.rs
+++ b/crates/ide/src/references.rs
@@ -1275,13 +1275,13 @@ fn foo(_: bool) -> bo$0ol { true }
1275 fn test_transitive() { 1275 fn test_transitive() {
1276 check( 1276 check(
1277 r#" 1277 r#"
1278//- /level3/level3.rs crate:level3 1278//- /level3.rs new_source_root: crate:level3
1279pub struct Fo$0o; 1279pub struct Fo$0o;
1280//- /level2/level2.rs crate:level2 deps:level3 1280//- /level2.rs new_source_root: crate:level2 deps:level3
1281pub use level3::Foo; 1281pub use level3::Foo;
1282//- /level1/level1.rs crate:level1 deps:level2 1282//- /level1.rs new_source_root: crate:level1 deps:level2
1283pub use level2::Foo; 1283pub use level2::Foo;
1284//- /level0/level0.rs crate:level0 deps:level1 1284//- /level0.rs new_source_root: crate:level0 deps:level1
1285pub use level1::Foo; 1285pub use level1::Foo;
1286"#, 1286"#,
1287 expect![[r#" 1287 expect![[r#"