aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_assists/src/handlers
diff options
context:
space:
mode:
authorTimo Freiberg <[email protected]>2020-04-20 17:02:36 +0100
committerTimo Freiberg <[email protected]>2020-04-21 22:04:44 +0100
commit74780a15f65916d08942eb53c43b8e8c0b62cb48 (patch)
treeb34aefbe32e61d7c2630e74cde58060a850093e0 /crates/ra_assists/src/handlers
parentba8faf3efc7a3a373571f98569699bbe684779b3 (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.rs13
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;
907fn main() { 907fn 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
916mod foo;
917 913
918fn main() {
919 foo::bar()
920}
921 914
922//- /foo.rs 915pub(crate) fn bar() {
923fn bar() {
924 <|>todo!() 916 <|>todo!()
925} 917}",
926",
927 ) 918 )
928 } 919 }
929 920