diff options
author | Timo Freiberg <[email protected]> | 2020-04-20 17:02:36 +0100 |
---|---|---|
committer | Timo Freiberg <[email protected]> | 2020-04-21 22:04:44 +0100 |
commit | 74780a15f65916d08942eb53c43b8e8c0b62cb48 (patch) | |
tree | b34aefbe32e61d7c2630e74cde58060a850093e0 /crates/ra_assists/src/handlers | |
parent | ba8faf3efc7a3a373571f98569699bbe684779b3 (diff) |
Jump to sourceChanges in other files
Diffstat (limited to 'crates/ra_assists/src/handlers')
-rw-r--r-- | crates/ra_assists/src/handlers/add_function.rs | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/crates/ra_assists/src/handlers/add_function.rs b/crates/ra_assists/src/handlers/add_function.rs index b65ded871..9bd46f5dc 100644 --- a/crates/ra_assists/src/handlers/add_function.rs +++ b/crates/ra_assists/src/handlers/add_function.rs | |||
@@ -907,23 +907,14 @@ mod foo; | |||
907 | fn main() { | 907 | fn main() { |
908 | foo::bar<|>() | 908 | foo::bar<|>() |
909 | } | 909 | } |
910 | |||
911 | //- /foo.rs | 910 | //- /foo.rs |
912 | |||
913 | ", | 911 | ", |
914 | r" | 912 | r" |
915 | //- /main.rs | ||
916 | mod foo; | ||
917 | 913 | ||
918 | fn main() { | ||
919 | foo::bar() | ||
920 | } | ||
921 | 914 | ||
922 | //- /foo.rs | 915 | pub(crate) fn bar() { |
923 | fn bar() { | ||
924 | <|>todo!() | 916 | <|>todo!() |
925 | } | 917 | }", |
926 | ", | ||
927 | ) | 918 | ) |
928 | } | 919 | } |
929 | 920 | ||