aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-10-29 10:58:11 +0000
committerAleksey Kladov <[email protected]>2018-10-29 10:58:11 +0000
commitbc4de7128f474f75a9eff6591923657025099b74 (patch)
tree00b2013c272802c5136ebcf5514fbe1d602bf681
parent35568cf057e116ef3471b3c5e50beeb2f6bc7e70 (diff)
gc syntax trees
-rw-r--r--Cargo.lock68
-rw-r--r--crates/ra_analysis/src/imp.rs5
2 files changed, 37 insertions, 36 deletions
diff --git a/Cargo.lock b/Cargo.lock
index ea4275e63..16eaf3738 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -63,7 +63,7 @@ name = "base64"
63version = "0.9.3" 63version = "0.9.3"
64source = "registry+https://github.com/rust-lang/crates.io-index" 64source = "registry+https://github.com/rust-lang/crates.io-index"
65dependencies = [ 65dependencies = [
66 "byteorder 1.2.6 (registry+https://github.com/rust-lang/crates.io-index)", 66 "byteorder 1.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
67 "safemem 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", 67 "safemem 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
68] 68]
69 69
@@ -88,7 +88,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
88 88
89[[package]] 89[[package]]
90name = "byteorder" 90name = "byteorder"
91version = "1.2.6" 91version = "1.2.7"
92source = "registry+https://github.com/rust-lang/crates.io-index" 92source = "registry+https://github.com/rust-lang/crates.io-index"
93 93
94[[package]] 94[[package]]
@@ -212,7 +212,7 @@ version = "0.5.5"
212source = "registry+https://github.com/rust-lang/crates.io-index" 212source = "registry+https://github.com/rust-lang/crates.io-index"
213dependencies = [ 213dependencies = [
214 "proc-macro2 0.4.20 (registry+https://github.com/rust-lang/crates.io-index)", 214 "proc-macro2 0.4.20 (registry+https://github.com/rust-lang/crates.io-index)",
215 "quote 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)", 215 "quote 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)",
216 "syn 0.14.9 (registry+https://github.com/rust-lang/crates.io-index)", 216 "syn 0.14.9 (registry+https://github.com/rust-lang/crates.io-index)",
217] 217]
218 218
@@ -267,9 +267,9 @@ version = "0.1.3"
267source = "registry+https://github.com/rust-lang/crates.io-index" 267source = "registry+https://github.com/rust-lang/crates.io-index"
268dependencies = [ 268dependencies = [
269 "proc-macro2 0.4.20 (registry+https://github.com/rust-lang/crates.io-index)", 269 "proc-macro2 0.4.20 (registry+https://github.com/rust-lang/crates.io-index)",
270 "quote 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)", 270 "quote 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)",
271 "syn 0.15.13 (registry+https://github.com/rust-lang/crates.io-index)", 271 "syn 0.15.15 (registry+https://github.com/rust-lang/crates.io-index)",
272 "synstructure 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", 272 "synstructure 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
273] 273]
274 274
275[[package]] 275[[package]]
@@ -279,12 +279,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
279 279
280[[package]] 280[[package]]
281name = "flexi_logger" 281name = "flexi_logger"
282version = "0.9.2" 282version = "0.9.3"
283source = "registry+https://github.com/rust-lang/crates.io-index" 283source = "registry+https://github.com/rust-lang/crates.io-index"
284dependencies = [ 284dependencies = [
285 "chrono 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", 285 "chrono 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
286 "glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)", 286 "glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)",
287 "log 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)", 287 "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
288 "regex 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)", 288 "regex 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
289] 289]
290 290
@@ -293,7 +293,7 @@ name = "fst"
293version = "0.3.2" 293version = "0.3.2"
294source = "registry+https://github.com/rust-lang/crates.io-index" 294source = "registry+https://github.com/rust-lang/crates.io-index"
295dependencies = [ 295dependencies = [
296 "byteorder 1.2.6 (registry+https://github.com/rust-lang/crates.io-index)", 296 "byteorder 1.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
297 "memmap 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", 297 "memmap 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)",
298] 298]
299 299
@@ -318,7 +318,7 @@ dependencies = [
318 "crossbeam-channel 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", 318 "crossbeam-channel 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
319 "failure 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", 319 "failure 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
320 "languageserver-types 0.51.0 (registry+https://github.com/rust-lang/crates.io-index)", 320 "languageserver-types 0.51.0 (registry+https://github.com/rust-lang/crates.io-index)",
321 "log 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)", 321 "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
322 "serde 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)", 322 "serde 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)",
323 "serde_derive 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)", 323 "serde_derive 1.0.80 (registry+https://github.com/rust-lang/crates.io-index)",
324 "serde_json 1.0.32 (registry+https://github.com/rust-lang/crates.io-index)", 324 "serde_json 1.0.32 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -431,7 +431,7 @@ dependencies = [
431 431
432[[package]] 432[[package]]
433name = "log" 433name = "log"
434version = "0.4.5" 434version = "0.4.6"
435source = "registry+https://github.com/rust-lang/crates.io-index" 435source = "registry+https://github.com/rust-lang/crates.io-index"
436dependencies = [ 436dependencies = [
437 "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", 437 "cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -483,8 +483,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
483dependencies = [ 483dependencies = [
484 "num-traits 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", 484 "num-traits 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
485 "proc-macro2 0.4.20 (registry+https://github.com/rust-lang/crates.io-index)", 485 "proc-macro2 0.4.20 (registry+https://github.com/rust-lang/crates.io-index)",
486 "quote 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)", 486 "quote 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)",
487 "syn 0.15.13 (registry+https://github.com/rust-lang/crates.io-index)", 487 "syn 0.15.15 (registry+https://github.com/rust-lang/crates.io-index)",
488] 488]
489 489
490[[package]] 490[[package]]
@@ -567,7 +567,7 @@ dependencies = [
567 "pest 2.0.2 (registry+https://github.com/rust-lang/crates.io-index)", 567 "pest 2.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
568 "pest_meta 2.0.3 (registry+https://github.com/rust-lang/crates.io-index)", 568 "pest_meta 2.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
569 "proc-macro2 0.4.20 (registry+https://github.com/rust-lang/crates.io-index)", 569 "proc-macro2 0.4.20 (registry+https://github.com/rust-lang/crates.io-index)",
570 "quote 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)", 570 "quote 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)",
571 "syn 0.14.9 (registry+https://github.com/rust-lang/crates.io-index)", 571 "syn 0.14.9 (registry+https://github.com/rust-lang/crates.io-index)",
572] 572]
573 573
@@ -591,7 +591,7 @@ dependencies = [
591 591
592[[package]] 592[[package]]
593name = "quote" 593name = "quote"
594version = "0.6.8" 594version = "0.6.9"
595source = "registry+https://github.com/rust-lang/crates.io-index" 595source = "registry+https://github.com/rust-lang/crates.io-index"
596dependencies = [ 596dependencies = [
597 "proc-macro2 0.4.20 (registry+https://github.com/rust-lang/crates.io-index)", 597 "proc-macro2 0.4.20 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -602,7 +602,7 @@ name = "ra_analysis"
602version = "0.1.0" 602version = "0.1.0"
603dependencies = [ 603dependencies = [
604 "fst 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", 604 "fst 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
605 "log 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)", 605 "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
606 "ra_editor 0.1.0", 606 "ra_editor 0.1.0",
607 "ra_syntax 0.1.0", 607 "ra_syntax 0.1.0",
608 "rayon 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", 608 "rayon 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -645,11 +645,11 @@ dependencies = [
645 "drop_bomb 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", 645 "drop_bomb 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
646 "failure 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", 646 "failure 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
647 "failure_derive 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", 647 "failure_derive 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
648 "flexi_logger 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)", 648 "flexi_logger 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)",
649 "gen_lsp_server 0.1.0", 649 "gen_lsp_server 0.1.0",
650 "im 12.2.0 (registry+https://github.com/rust-lang/crates.io-index)", 650 "im 12.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
651 "languageserver-types 0.51.0 (registry+https://github.com/rust-lang/crates.io-index)", 651 "languageserver-types 0.51.0 (registry+https://github.com/rust-lang/crates.io-index)",
652 "log 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)", 652 "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
653 "ra_analysis 0.1.0", 653 "ra_analysis 0.1.0",
654 "ra_editor 0.1.0", 654 "ra_editor 0.1.0",
655 "ra_syntax 0.1.0", 655 "ra_syntax 0.1.0",
@@ -811,7 +811,7 @@ name = "rustc-hash"
811version = "1.0.1" 811version = "1.0.1"
812source = "registry+https://github.com/rust-lang/crates.io-index" 812source = "registry+https://github.com/rust-lang/crates.io-index"
813dependencies = [ 813dependencies = [
814 "byteorder 1.2.6 (registry+https://github.com/rust-lang/crates.io-index)", 814 "byteorder 1.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
815] 815]
816 816
817[[package]] 817[[package]]
@@ -840,7 +840,7 @@ dependencies = [
840 "derive-new 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)", 840 "derive-new 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)",
841 "indexmap 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", 841 "indexmap 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
842 "lock_api 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", 842 "lock_api 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
843 "log 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)", 843 "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)",
844 "parking_lot 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)", 844 "parking_lot 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)",
845 "rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", 845 "rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
846 "smallvec 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", 846 "smallvec 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -887,8 +887,8 @@ version = "1.0.80"
887source = "registry+https://github.com/rust-lang/crates.io-index" 887source = "registry+https://github.com/rust-lang/crates.io-index"
888dependencies = [ 888dependencies = [
889 "proc-macro2 0.4.20 (registry+https://github.com/rust-lang/crates.io-index)", 889 "proc-macro2 0.4.20 (registry+https://github.com/rust-lang/crates.io-index)",
890 "quote 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)", 890 "quote 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)",
891 "syn 0.15.13 (registry+https://github.com/rust-lang/crates.io-index)", 891 "syn 0.15.15 (registry+https://github.com/rust-lang/crates.io-index)",
892] 892]
893 893
894[[package]] 894[[package]]
@@ -957,28 +957,28 @@ version = "0.14.9"
957source = "registry+https://github.com/rust-lang/crates.io-index" 957source = "registry+https://github.com/rust-lang/crates.io-index"
958dependencies = [ 958dependencies = [
959 "proc-macro2 0.4.20 (registry+https://github.com/rust-lang/crates.io-index)", 959 "proc-macro2 0.4.20 (registry+https://github.com/rust-lang/crates.io-index)",
960 "quote 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)", 960 "quote 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)",
961 "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", 961 "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
962] 962]
963 963
964[[package]] 964[[package]]
965name = "syn" 965name = "syn"
966version = "0.15.13" 966version = "0.15.15"
967source = "registry+https://github.com/rust-lang/crates.io-index" 967source = "registry+https://github.com/rust-lang/crates.io-index"
968dependencies = [ 968dependencies = [
969 "proc-macro2 0.4.20 (registry+https://github.com/rust-lang/crates.io-index)", 969 "proc-macro2 0.4.20 (registry+https://github.com/rust-lang/crates.io-index)",
970 "quote 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)", 970 "quote 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)",
971 "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", 971 "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
972] 972]
973 973
974[[package]] 974[[package]]
975name = "synstructure" 975name = "synstructure"
976version = "0.10.0" 976version = "0.10.1"
977source = "registry+https://github.com/rust-lang/crates.io-index" 977source = "registry+https://github.com/rust-lang/crates.io-index"
978dependencies = [ 978dependencies = [
979 "proc-macro2 0.4.20 (registry+https://github.com/rust-lang/crates.io-index)", 979 "proc-macro2 0.4.20 (registry+https://github.com/rust-lang/crates.io-index)",
980 "quote 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)", 980 "quote 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)",
981 "syn 0.15.13 (registry+https://github.com/rust-lang/crates.io-index)", 981 "syn 0.15.15 (registry+https://github.com/rust-lang/crates.io-index)",
982 "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", 982 "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
983] 983]
984 984
@@ -1269,7 +1269,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1269"checksum bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "228047a76f468627ca71776ecdebd732a3423081fcf5125585bcd7c49886ce12" 1269"checksum bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "228047a76f468627ca71776ecdebd732a3423081fcf5125585bcd7c49886ce12"
1270"checksum block-buffer 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "a076c298b9ecdb530ed9d967e74a6027d6a7478924520acddcddc24c1c8ab3ab" 1270"checksum block-buffer 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "a076c298b9ecdb530ed9d967e74a6027d6a7478924520acddcddc24c1c8ab3ab"
1271"checksum byte-tools 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "560c32574a12a89ecd91f5e742165893f86e3ab98d21f8ea548658eb9eef5f40" 1271"checksum byte-tools 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "560c32574a12a89ecd91f5e742165893f86e3ab98d21f8ea548658eb9eef5f40"
1272"checksum byteorder 1.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "90492c5858dd7d2e78691cfb89f90d273a2800fc11d98f60786e5d87e2f83781" 1272"checksum byteorder 1.2.7 (registry+https://github.com/rust-lang/crates.io-index)" = "94f88df23a25417badc922ab0f5716cc1330e87f71ddd9203b3a3ccd9cedf75d"
1273"checksum cargo_metadata 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)" = "1aaa1a9856ae2d188340526d0986feb6899c9ad11c5dfd73453c784fed6e373d" 1273"checksum cargo_metadata 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)" = "1aaa1a9856ae2d188340526d0986feb6899c9ad11c5dfd73453c784fed6e373d"
1274"checksum cc 1.0.25 (registry+https://github.com/rust-lang/crates.io-index)" = "f159dfd43363c4d08055a07703eb7a3406b0dac4d0584d96965a3262db3c9d16" 1274"checksum cc 1.0.25 (registry+https://github.com/rust-lang/crates.io-index)" = "f159dfd43363c4d08055a07703eb7a3406b0dac4d0584d96965a3262db3c9d16"
1275"checksum cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "082bb9b28e00d3c9d39cc03e64ce4cea0f1bb9b3fde493f0cbc008472d22bdf4" 1275"checksum cfg-if 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "082bb9b28e00d3c9d39cc03e64ce4cea0f1bb9b3fde493f0cbc008472d22bdf4"
@@ -1292,7 +1292,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1292"checksum failure 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "6dd377bcc1b1b7ce911967e3ec24fa19c3224394ec05b54aa7b083d498341ac7" 1292"checksum failure 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "6dd377bcc1b1b7ce911967e3ec24fa19c3224394ec05b54aa7b083d498341ac7"
1293"checksum failure_derive 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "64c2d913fe8ed3b6c6518eedf4538255b989945c14c2a7d5cbff62a5e2120596" 1293"checksum failure_derive 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "64c2d913fe8ed3b6c6518eedf4538255b989945c14c2a7d5cbff62a5e2120596"
1294"checksum fake-simd 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" 1294"checksum fake-simd 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed"
1295"checksum flexi_logger 0.9.2 (registry+https://github.com/rust-lang/crates.io-index)" = "2103a4bd3f67bf8b3e89fe0695cd13ac23c9968a2a81f2ccf2d95f1bb4e5a520" 1295"checksum flexi_logger 0.9.3 (registry+https://github.com/rust-lang/crates.io-index)" = "7992096ba2290bd35b86b282e72edae518a25aa9a067ff417bc017ae63ac5e22"
1296"checksum fst 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9b0408ab57c1bf7c634b2ac6a165d14f642dc3335a43203090a7f8c78b54577b" 1296"checksum fst 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9b0408ab57c1bf7c634b2ac6a165d14f642dc3335a43203090a7f8c78b54577b"
1297"checksum fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" 1297"checksum fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82"
1298"checksum fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" 1298"checksum fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7"
@@ -1310,7 +1310,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1310"checksum lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ca488b89a5657b0a2ecd45b95609b3e848cf1755da332a0da46e2b2b1cb371a7" 1310"checksum lazy_static 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ca488b89a5657b0a2ecd45b95609b3e848cf1755da332a0da46e2b2b1cb371a7"
1311"checksum libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)" = "76e3a3ef172f1a0b9a9ff0dd1491ae5e6c948b94479a3021819ba7d860c8645d" 1311"checksum libc 0.2.43 (registry+https://github.com/rust-lang/crates.io-index)" = "76e3a3ef172f1a0b9a9ff0dd1491ae5e6c948b94479a3021819ba7d860c8645d"
1312"checksum lock_api 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "775751a3e69bde4df9b38dd00a1b5d6ac13791e4223d4a0506577f0dd27cfb7a" 1312"checksum lock_api 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "775751a3e69bde4df9b38dd00a1b5d6ac13791e4223d4a0506577f0dd27cfb7a"
1313"checksum log 0.4.5 (registry+https://github.com/rust-lang/crates.io-index)" = "d4fcce5fa49cc693c312001daf1d13411c4a5283796bac1084299ea3e567113f" 1313"checksum log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c84ec4b527950aa83a329754b01dbe3f58361d1c5efacd1f6d68c494d08a17c6"
1314"checksum maplit 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "08cbb6b4fef96b6d77bfc40ec491b1690c779e77b05cd9f07f787ed376fd4c43" 1314"checksum maplit 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "08cbb6b4fef96b6d77bfc40ec491b1690c779e77b05cd9f07f787ed376fd4c43"
1315"checksum matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08" 1315"checksum matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08"
1316"checksum memchr 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4b3629fe9fdbff6daa6c33b90f7c08355c1aca05a3d01fa8063b822fcf185f3b" 1316"checksum memchr 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4b3629fe9fdbff6daa6c33b90f7c08355c1aca05a3d01fa8063b822fcf185f3b"
@@ -1330,7 +1330,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1330"checksum pest_generator 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3ebee4e9680be4fd162e6f3394ae4192a6b60b1e4d17d845e631f0c68d1a3386" 1330"checksum pest_generator 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3ebee4e9680be4fd162e6f3394ae4192a6b60b1e4d17d845e631f0c68d1a3386"
1331"checksum pest_meta 2.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "1f6d5f6f0e6082578c86af197d780dc38328e3f768cec06aac9bc46d714e8221" 1331"checksum pest_meta 2.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "1f6d5f6f0e6082578c86af197d780dc38328e3f768cec06aac9bc46d714e8221"
1332"checksum proc-macro2 0.4.20 (registry+https://github.com/rust-lang/crates.io-index)" = "3d7b7eaaa90b4a90a932a9ea6666c95a389e424eff347f0f793979289429feee" 1332"checksum proc-macro2 0.4.20 (registry+https://github.com/rust-lang/crates.io-index)" = "3d7b7eaaa90b4a90a932a9ea6666c95a389e424eff347f0f793979289429feee"
1333"checksum quote 0.6.8 (registry+https://github.com/rust-lang/crates.io-index)" = "dd636425967c33af890042c483632d33fa7a18f19ad1d7ea72e8998c6ef8dea5" 1333"checksum quote 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)" = "63b5829244f52738cfee93b3a165c1911388675be000c888d2fae620dee8fa5b"
1334"checksum rand 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "8356f47b32624fef5b3301c1be97e5944ecdd595409cc5da11d05f211db6cfbd" 1334"checksum rand 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "8356f47b32624fef5b3301c1be97e5944ecdd595409cc5da11d05f211db6cfbd"
1335"checksum rand 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)" = "e464cd887e869cddcae8792a4ee31d23c7edd516700695608f5b98c67ee0131c" 1335"checksum rand 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)" = "e464cd887e869cddcae8792a4ee31d23c7edd516700695608f5b98c67ee0131c"
1336"checksum rand_core 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "1961a422c4d189dfb50ffa9320bf1f2a9bd54ecb92792fb9477f99a1045f3372" 1336"checksum rand_core 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "1961a422c4d189dfb50ffa9320bf1f2a9bd54ecb92792fb9477f99a1045f3372"
@@ -1366,8 +1366,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1366"checksum strsim 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bb4f380125926a99e52bc279241539c018323fab05ad6368b56f93d9369ff550" 1366"checksum strsim 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bb4f380125926a99e52bc279241539c018323fab05ad6368b56f93d9369ff550"
1367"checksum superslice 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b50b13d42370e0f5fc62eafdd5c2d20065eaf5458dab215ff3e20e63eea96b30" 1367"checksum superslice 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b50b13d42370e0f5fc62eafdd5c2d20065eaf5458dab215ff3e20e63eea96b30"
1368"checksum syn 0.14.9 (registry+https://github.com/rust-lang/crates.io-index)" = "261ae9ecaa397c42b960649561949d69311f08eeaea86a65696e6e46517cf741" 1368"checksum syn 0.14.9 (registry+https://github.com/rust-lang/crates.io-index)" = "261ae9ecaa397c42b960649561949d69311f08eeaea86a65696e6e46517cf741"
1369"checksum syn 0.15.13 (registry+https://github.com/rust-lang/crates.io-index)" = "7b4439ee8325b4e4b57e59309c3724c9a4478eaeb4eb094b6f3fac180a3b2876" 1369"checksum syn 0.15.15 (registry+https://github.com/rust-lang/crates.io-index)" = "0a9c2bf1e53c21704a7cce1b2a42768f1ae32a6777108a0d7f1faa4bfe7f7c04"
1370"checksum synstructure 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ec37f4fab4bafaf6b5621c1d54e6aa5d4d059a8f84929e87abfdd7f9f04c6db2" 1370"checksum synstructure 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "73687139bf99285483c96ac0add482c3776528beac1d97d444f6e91f203a2015"
1371"checksum tempdir 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)" = "15f2b5fb00ccdf689e0149d1b1b3c03fead81c2b37735d812fa8bddbbf41b6d8" 1371"checksum tempdir 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)" = "15f2b5fb00ccdf689e0149d1b1b3c03fead81c2b37735d812fa8bddbbf41b6d8"
1372"checksum tera 0.11.18 (registry+https://github.com/rust-lang/crates.io-index)" = "6c87cae42cc4fc480278c7583792cc5da2d51a25be916b7921cbb45c43063b8d" 1372"checksum tera 0.11.18 (registry+https://github.com/rust-lang/crates.io-index)" = "6c87cae42cc4fc480278c7583792cc5da2d51a25be916b7921cbb45c43063b8d"
1373"checksum teraron 0.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0d89ad4617d1dec55331067fadaa041e813479e1779616f3d3ce9308bf46184e" 1373"checksum teraron 0.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0d89ad4617d1dec55331067fadaa041e813479e1779616f3d3ce9308bf46184e"
diff --git a/crates/ra_analysis/src/imp.rs b/crates/ra_analysis/src/imp.rs
index 90446c838..3557bb5cc 100644
--- a/crates/ra_analysis/src/imp.rs
+++ b/crates/ra_analysis/src/imp.rs
@@ -18,8 +18,7 @@ use salsa::{ParallelDatabase, Database};
18use crate::{ 18use crate::{
19 AnalysisChange, 19 AnalysisChange,
20 db::{ 20 db::{
21 self, SyntaxDatabase, 21 self, SyntaxDatabase, FileSyntaxQuery,
22
23 }, 22 },
24 input::{SourceRootId, FilesDatabase, SourceRoot, WORKSPACE}, 23 input::{SourceRootId, FilesDatabase, SourceRoot, WORKSPACE},
25 descriptors::module::{ModulesDatabase, ModuleTree, Problem}, 24 descriptors::module::{ModulesDatabase, ModuleTree, Problem},
@@ -194,6 +193,8 @@ impl AnalysisImpl {
194 .filter_map(|it| it.ok()) 193 .filter_map(|it| it.ok())
195 .collect() 194 .collect()
196 }; 195 };
196 self.db.query(FileSyntaxQuery)
197 .sweep(salsa::SweepStrategy::default().discard_values());
197 Ok(query.search(&buf)) 198 Ok(query.search(&buf))
198 } 199 }
199 fn module_tree(&self, file_id: FileId) -> Cancelable<Arc<ModuleTree>> { 200 fn module_tree(&self, file_id: FileId) -> Cancelable<Arc<ModuleTree>> {