diff options
-rw-r--r-- | crates/ra_ide/src/goto_definition.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/ra_ide/src/goto_definition.rs b/crates/ra_ide/src/goto_definition.rs index bee8e9df2..3b4d89e3e 100644 --- a/crates/ra_ide/src/goto_definition.rs +++ b/crates/ra_ide/src/goto_definition.rs | |||
@@ -285,8 +285,10 @@ mod tests { | |||
285 | mod a; | 285 | mod a; |
286 | mod b; | 286 | mod b; |
287 | enum E { X(Foo<|>) } | 287 | enum E { X(Foo<|>) } |
288 | |||
288 | //- /a.rs | 289 | //- /a.rs |
289 | struct Foo; | 290 | struct Foo; |
291 | |||
290 | //- /b.rs | 292 | //- /b.rs |
291 | struct Foo; | 293 | struct Foo; |
292 | ", | 294 | ", |
@@ -300,6 +302,7 @@ mod tests { | |||
300 | " | 302 | " |
301 | //- /lib.rs | 303 | //- /lib.rs |
302 | mod <|>foo; | 304 | mod <|>foo; |
305 | |||
303 | //- /foo.rs | 306 | //- /foo.rs |
304 | // empty | 307 | // empty |
305 | ", | 308 | ", |
@@ -310,6 +313,7 @@ mod tests { | |||
310 | " | 313 | " |
311 | //- /lib.rs | 314 | //- /lib.rs |
312 | mod <|>foo; | 315 | mod <|>foo; |
316 | |||
313 | //- /foo/mod.rs | 317 | //- /foo/mod.rs |
314 | // empty | 318 | // empty |
315 | ", | 319 | ", |