aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Cargo.lock248
-rw-r--r--crates/ra_cli/src/analysis_bench.rs38
-rw-r--r--crates/ra_db/Cargo.toml2
-rw-r--r--crates/ra_hir/src/db.rs9
-rw-r--r--crates/ra_hir/src/lib.rs2
-rw-r--r--crates/ra_hir/src/ty/traits.rs54
-rw-r--r--crates/ra_ide_api/src/change.rs53
-rw-r--r--crates/ra_ide_api/src/db.rs8
-rw-r--r--crates/ra_ide_api/src/lib.rs3
-rw-r--r--crates/ra_lsp_server/src/lib.rs1
-rw-r--r--crates/ra_parser/src/grammar/expressions.rs21
-rw-r--r--crates/ra_parser/src/grammar/expressions/atom.rs16
-rw-r--r--crates/ra_parser/src/grammar/items.rs4
-rw-r--r--crates/ra_parser/src/grammar/items/use_item.rs2
-rw-r--r--crates/ra_parser/src/grammar/paths.rs6
-rw-r--r--crates/ra_parser/src/grammar/patterns.rs4
-rw-r--r--crates/ra_parser/src/grammar/type_params.rs2
-rw-r--r--crates/ra_parser/src/grammar/types.rs7
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.rs1
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.txt83
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0138_expression_after_block.rs4
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0138_expression_after_block.txt65
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.rs5
-rw-r--r--crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.txt40
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0052_for_range_block.rs5
-rw-r--r--crates/ra_syntax/test_data/parser/ok/0052_for_range_block.txt79
26 files changed, 602 insertions, 160 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 365b77f41..00994649a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -29,7 +29,7 @@ name = "atty"
29version = "0.2.13" 29version = "0.2.13"
30source = "registry+https://github.com/rust-lang/crates.io-index" 30source = "registry+https://github.com/rust-lang/crates.io-index"
31dependencies = [ 31dependencies = [
32 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 32 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
33 "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", 33 "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
34] 34]
35 35
@@ -47,8 +47,8 @@ dependencies = [
47 "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", 47 "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
48 "dbghelp-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", 48 "dbghelp-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
49 "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", 49 "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
50 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 50 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
51 "rustc-demangle 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)", 51 "rustc-demangle 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
52 "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", 52 "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
53] 53]
54 54
@@ -59,8 +59,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
59dependencies = [ 59dependencies = [
60 "backtrace-sys 0.1.31 (registry+https://github.com/rust-lang/crates.io-index)", 60 "backtrace-sys 0.1.31 (registry+https://github.com/rust-lang/crates.io-index)",
61 "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", 61 "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
62 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 62 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
63 "rustc-demangle 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)", 63 "rustc-demangle 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)",
64] 64]
65 65
66[[package]] 66[[package]]
@@ -68,8 +68,8 @@ name = "backtrace-sys"
68version = "0.1.31" 68version = "0.1.31"
69source = "registry+https://github.com/rust-lang/crates.io-index" 69source = "registry+https://github.com/rust-lang/crates.io-index"
70dependencies = [ 70dependencies = [
71 "cc 1.0.38 (registry+https://github.com/rust-lang/crates.io-index)", 71 "cc 1.0.40 (registry+https://github.com/rust-lang/crates.io-index)",
72 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 72 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
73] 73]
74 74
75[[package]] 75[[package]]
@@ -119,7 +119,7 @@ dependencies = [
119 119
120[[package]] 120[[package]]
121name = "bstr" 121name = "bstr"
122version = "0.2.6" 122version = "0.2.7"
123source = "registry+https://github.com/rust-lang/crates.io-index" 123source = "registry+https://github.com/rust-lang/crates.io-index"
124dependencies = [ 124dependencies = [
125 "memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)", 125 "memchr 2.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -158,7 +158,7 @@ dependencies = [
158 158
159[[package]] 159[[package]]
160name = "cc" 160name = "cc"
161version = "1.0.38" 161version = "1.0.40"
162source = "registry+https://github.com/rust-lang/crates.io-index" 162source = "registry+https://github.com/rust-lang/crates.io-index"
163 163
164[[package]] 164[[package]]
@@ -226,7 +226,7 @@ name = "chrono"
226version = "0.4.7" 226version = "0.4.7"
227source = "registry+https://github.com/rust-lang/crates.io-index" 227source = "registry+https://github.com/rust-lang/crates.io-index"
228dependencies = [ 228dependencies = [
229 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 229 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
230 "num-integer 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)", 230 "num-integer 0.1.41 (registry+https://github.com/rust-lang/crates.io-index)",
231 "num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", 231 "num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
232 "serde 1.0.98 (registry+https://github.com/rust-lang/crates.io-index)", 232 "serde 1.0.98 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -259,7 +259,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
259dependencies = [ 259dependencies = [
260 "atty 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)", 260 "atty 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)",
261 "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", 261 "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
262 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 262 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
263 "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", 263 "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
264] 264]
265 265
@@ -280,7 +280,7 @@ dependencies = [
280 "clicolors-control 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", 280 "clicolors-control 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
281 "encode_unicode 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", 281 "encode_unicode 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
282 "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", 282 "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)",
283 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 283 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
284 "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", 284 "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
285 "regex 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", 285 "regex 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
286 "termios 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", 286 "termios 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -298,6 +298,19 @@ dependencies = [
298] 298]
299 299
300[[package]] 300[[package]]
301name = "crossbeam"
302version = "0.7.2"
303source = "registry+https://github.com/rust-lang/crates.io-index"
304dependencies = [
305 "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
306 "crossbeam-channel 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)",
307 "crossbeam-deque 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)",
308 "crossbeam-epoch 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
309 "crossbeam-queue 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
310 "crossbeam-utils 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
311]
312
313[[package]]
301name = "crossbeam-channel" 314name = "crossbeam-channel"
302version = "0.3.9" 315version = "0.3.9"
303source = "registry+https://github.com/rust-lang/crates.io-index" 316source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -315,6 +328,15 @@ dependencies = [
315] 328]
316 329
317[[package]] 330[[package]]
331name = "crossbeam-deque"
332version = "0.7.1"
333source = "registry+https://github.com/rust-lang/crates.io-index"
334dependencies = [
335 "crossbeam-epoch 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
336 "crossbeam-utils 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)",
337]
338
339[[package]]
318name = "crossbeam-epoch" 340name = "crossbeam-epoch"
319version = "0.7.2" 341version = "0.7.2"
320source = "registry+https://github.com/rust-lang/crates.io-index" 342source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -360,7 +382,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
360dependencies = [ 382dependencies = [
361 "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", 383 "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
362 "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)", 384 "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
363 "syn 0.15.42 (registry+https://github.com/rust-lang/crates.io-index)", 385 "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
364] 386]
365 387
366[[package]] 388[[package]]
@@ -450,7 +472,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
450dependencies = [ 472dependencies = [
451 "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", 473 "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
452 "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)", 474 "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
453 "syn 0.15.42 (registry+https://github.com/rust-lang/crates.io-index)", 475 "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
454 "synstructure 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", 476 "synstructure 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)",
455] 477]
456 478
@@ -465,7 +487,7 @@ version = "0.2.5"
465source = "registry+https://github.com/rust-lang/crates.io-index" 487source = "registry+https://github.com/rust-lang/crates.io-index"
466dependencies = [ 488dependencies = [
467 "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", 489 "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
468 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 490 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
469 "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)", 491 "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)",
470] 492]
471 493
@@ -515,7 +537,7 @@ name = "fsevent-sys"
515version = "2.0.1" 537version = "2.0.1"
516source = "registry+https://github.com/rust-lang/crates.io-index" 538source = "registry+https://github.com/rust-lang/crates.io-index"
517dependencies = [ 539dependencies = [
518 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 540 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
519] 541]
520 542
521[[package]] 543[[package]]
@@ -567,11 +589,12 @@ dependencies = [
567 589
568[[package]] 590[[package]]
569name = "getrandom" 591name = "getrandom"
570version = "0.1.8" 592version = "0.1.9"
571source = "registry+https://github.com/rust-lang/crates.io-index" 593source = "registry+https://github.com/rust-lang/crates.io-index"
572dependencies = [ 594dependencies = [
573 "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", 595 "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
574 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 596 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
597 "wasi 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
575] 598]
576 599
577[[package]] 600[[package]]
@@ -590,7 +613,7 @@ version = "0.4.4"
590source = "registry+https://github.com/rust-lang/crates.io-index" 613source = "registry+https://github.com/rust-lang/crates.io-index"
591dependencies = [ 614dependencies = [
592 "aho-corasick 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)", 615 "aho-corasick 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)",
593 "bstr 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", 616 "bstr 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)",
594 "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", 617 "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)",
595 "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", 618 "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
596 "regex 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", 619 "regex 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -643,7 +666,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
643dependencies = [ 666dependencies = [
644 "bitflags 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", 667 "bitflags 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
645 "inotify-sys 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", 668 "inotify-sys 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
646 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 669 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
647] 670]
648 671
649[[package]] 672[[package]]
@@ -651,12 +674,12 @@ name = "inotify-sys"
651version = "0.1.3" 674version = "0.1.3"
652source = "registry+https://github.com/rust-lang/crates.io-index" 675source = "registry+https://github.com/rust-lang/crates.io-index"
653dependencies = [ 676dependencies = [
654 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 677 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
655] 678]
656 679
657[[package]] 680[[package]]
658name = "insta" 681name = "insta"
659version = "0.10.0" 682version = "0.10.1"
660source = "registry+https://github.com/rust-lang/crates.io-index" 683source = "registry+https://github.com/rust-lang/crates.io-index"
661dependencies = [ 684dependencies = [
662 "chrono 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)", 685 "chrono 0.4.7 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -679,7 +702,7 @@ name = "iovec"
679version = "0.1.2" 702version = "0.1.2"
680source = "registry+https://github.com/rust-lang/crates.io-index" 703source = "registry+https://github.com/rust-lang/crates.io-index"
681dependencies = [ 704dependencies = [
682 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 705 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
683 "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", 706 "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)",
684] 707]
685 708
@@ -702,8 +725,8 @@ version = "0.3.3"
702source = "registry+https://github.com/rust-lang/crates.io-index" 725source = "registry+https://github.com/rust-lang/crates.io-index"
703dependencies = [ 726dependencies = [
704 "jemalloc-sys 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", 727 "jemalloc-sys 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
705 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 728 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
706 "paste 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", 729 "paste 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
707] 730]
708 731
709[[package]] 732[[package]]
@@ -711,9 +734,9 @@ name = "jemalloc-sys"
711version = "0.3.2" 734version = "0.3.2"
712source = "registry+https://github.com/rust-lang/crates.io-index" 735source = "registry+https://github.com/rust-lang/crates.io-index"
713dependencies = [ 736dependencies = [
714 "cc 1.0.38 (registry+https://github.com/rust-lang/crates.io-index)", 737 "cc 1.0.40 (registry+https://github.com/rust-lang/crates.io-index)",
715 "fs_extra 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)", 738 "fs_extra 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
716 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 739 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
717] 740]
718 741
719[[package]] 742[[package]]
@@ -722,7 +745,7 @@ version = "0.3.2"
722source = "registry+https://github.com/rust-lang/crates.io-index" 745source = "registry+https://github.com/rust-lang/crates.io-index"
723dependencies = [ 746dependencies = [
724 "jemalloc-sys 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", 747 "jemalloc-sys 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
725 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 748 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
726] 749]
727 750
728[[package]] 751[[package]]
@@ -761,7 +784,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
761 784
762[[package]] 785[[package]]
763name = "libc" 786name = "libc"
764version = "0.2.60" 787version = "0.2.62"
765source = "registry+https://github.com/rust-lang/crates.io-index" 788source = "registry+https://github.com/rust-lang/crates.io-index"
766 789
767[[package]] 790[[package]]
@@ -840,7 +863,7 @@ dependencies = [
840 "fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", 863 "fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
841 "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", 864 "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
842 "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", 865 "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
843 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 866 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
844 "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", 867 "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
845 "miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", 868 "miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
846 "net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", 869 "net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -876,7 +899,7 @@ version = "0.2.33"
876source = "registry+https://github.com/rust-lang/crates.io-index" 899source = "registry+https://github.com/rust-lang/crates.io-index"
877dependencies = [ 900dependencies = [
878 "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", 901 "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
879 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 902 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
880 "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", 903 "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
881] 904]
882 905
@@ -896,7 +919,7 @@ dependencies = [
896 "fsevent-sys 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", 919 "fsevent-sys 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
897 "inotify 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", 920 "inotify 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)",
898 "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", 921 "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)",
899 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 922 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
900 "mio 0.6.19 (registry+https://github.com/rust-lang/crates.io-index)", 923 "mio 0.6.19 (registry+https://github.com/rust-lang/crates.io-index)",
901 "mio-extras 2.0.5 (registry+https://github.com/rust-lang/crates.io-index)", 924 "mio-extras 2.0.5 (registry+https://github.com/rust-lang/crates.io-index)",
902 "walkdir 2.2.9 (registry+https://github.com/rust-lang/crates.io-index)", 925 "walkdir 2.2.9 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -910,7 +933,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
910dependencies = [ 933dependencies = [
911 "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", 934 "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
912 "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)", 935 "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
913 "syn 0.15.42 (registry+https://github.com/rust-lang/crates.io-index)", 936 "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
914] 937]
915 938
916[[package]] 939[[package]]
@@ -935,7 +958,7 @@ name = "num_cpus"
935version = "1.10.1" 958version = "1.10.1"
936source = "registry+https://github.com/rust-lang/crates.io-index" 959source = "registry+https://github.com/rust-lang/crates.io-index"
937dependencies = [ 960dependencies = [
938 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 961 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
939] 962]
940 963
941[[package]] 964[[package]]
@@ -948,7 +971,7 @@ dependencies = [
948 971
949[[package]] 972[[package]]
950name = "once_cell" 973name = "once_cell"
951version = "0.2.4" 974version = "0.2.6"
952source = "registry+https://github.com/rust-lang/crates.io-index" 975source = "registry+https://github.com/rust-lang/crates.io-index"
953dependencies = [ 976dependencies = [
954 "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", 977 "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -991,7 +1014,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
991dependencies = [ 1014dependencies = [
992 "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", 1015 "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
993 "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)", 1016 "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
994 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 1017 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
995 "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", 1018 "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)",
996 "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)", 1019 "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)",
997 "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", 1020 "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1006,7 +1029,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1006dependencies = [ 1029dependencies = [
1007 "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", 1030 "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
1008 "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)", 1031 "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
1009 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 1032 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
1010 "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)", 1033 "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)",
1011 "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", 1034 "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
1012 "smallvec 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", 1035 "smallvec 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1015,22 +1038,22 @@ dependencies = [
1015 1038
1016[[package]] 1039[[package]]
1017name = "paste" 1040name = "paste"
1018version = "0.1.5" 1041version = "0.1.6"
1019source = "registry+https://github.com/rust-lang/crates.io-index" 1042source = "registry+https://github.com/rust-lang/crates.io-index"
1020dependencies = [ 1043dependencies = [
1021 "paste-impl 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", 1044 "paste-impl 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)",
1022 "proc-macro-hack 0.5.8 (registry+https://github.com/rust-lang/crates.io-index)", 1045 "proc-macro-hack 0.5.9 (registry+https://github.com/rust-lang/crates.io-index)",
1023] 1046]
1024 1047
1025[[package]] 1048[[package]]
1026name = "paste-impl" 1049name = "paste-impl"
1027version = "0.1.5" 1050version = "0.1.6"
1028source = "registry+https://github.com/rust-lang/crates.io-index" 1051source = "registry+https://github.com/rust-lang/crates.io-index"
1029dependencies = [ 1052dependencies = [
1030 "proc-macro-hack 0.5.8 (registry+https://github.com/rust-lang/crates.io-index)", 1053 "proc-macro-hack 0.5.9 (registry+https://github.com/rust-lang/crates.io-index)",
1031 "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", 1054 "proc-macro2 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
1032 "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)", 1055 "quote 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
1033 "syn 0.15.42 (registry+https://github.com/rust-lang/crates.io-index)", 1056 "syn 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
1034] 1057]
1035 1058
1036[[package]] 1059[[package]]
@@ -1064,7 +1087,7 @@ dependencies = [
1064 "pest_meta 2.1.1 (registry+https://github.com/rust-lang/crates.io-index)", 1087 "pest_meta 2.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
1065 "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", 1088 "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
1066 "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)", 1089 "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
1067 "syn 0.15.42 (registry+https://github.com/rust-lang/crates.io-index)", 1090 "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
1068] 1091]
1069 1092
1070[[package]] 1093[[package]]
@@ -1093,12 +1116,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1093 1116
1094[[package]] 1117[[package]]
1095name = "proc-macro-hack" 1118name = "proc-macro-hack"
1096version = "0.5.8" 1119version = "0.5.9"
1097source = "registry+https://github.com/rust-lang/crates.io-index" 1120source = "registry+https://github.com/rust-lang/crates.io-index"
1098dependencies = [ 1121dependencies = [
1099 "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", 1122 "proc-macro2 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
1100 "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)", 1123 "quote 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
1101 "syn 0.15.42 (registry+https://github.com/rust-lang/crates.io-index)", 1124 "syn 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
1102] 1125]
1103 1126
1104[[package]] 1127[[package]]
@@ -1110,6 +1133,14 @@ dependencies = [
1110] 1133]
1111 1134
1112[[package]] 1135[[package]]
1136name = "proc-macro2"
1137version = "1.0.0"
1138source = "registry+https://github.com/rust-lang/crates.io-index"
1139dependencies = [
1140 "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
1141]
1142
1143[[package]]
1113name = "proptest" 1144name = "proptest"
1114version = "0.9.4" 1145version = "0.9.4"
1115source = "registry+https://github.com/rust-lang/crates.io-index" 1146source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1140,6 +1171,14 @@ dependencies = [
1140] 1171]
1141 1172
1142[[package]] 1173[[package]]
1174name = "quote"
1175version = "1.0.0"
1176source = "registry+https://github.com/rust-lang/crates.io-index"
1177dependencies = [
1178 "proc-macro2 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
1179]
1180
1181[[package]]
1143name = "ra_arena" 1182name = "ra_arena"
1144version = "0.1.0" 1183version = "0.1.0"
1145 1184
@@ -1151,7 +1190,7 @@ dependencies = [
1151 "format-buf 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", 1190 "format-buf 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
1152 "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", 1191 "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
1153 "join_to_string 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", 1192 "join_to_string 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
1154 "once_cell 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", 1193 "once_cell 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
1155 "ra_db 0.1.0", 1194 "ra_db 0.1.0",
1156 "ra_fmt 0.1.0", 1195 "ra_fmt 0.1.0",
1157 "ra_hir 0.1.0", 1196 "ra_hir 0.1.0",
@@ -1197,7 +1236,7 @@ dependencies = [
1197 "ra_syntax 0.1.0", 1236 "ra_syntax 0.1.0",
1198 "relative-path 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", 1237 "relative-path 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
1199 "rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", 1238 "rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
1200 "salsa 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)", 1239 "salsa 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)",
1201] 1240]
1202 1241
1203[[package]] 1242[[package]]
@@ -1217,10 +1256,10 @@ dependencies = [
1217 "chalk-rust-ir 0.1.0 (git+https://github.com/rust-lang/chalk.git)", 1256 "chalk-rust-ir 0.1.0 (git+https://github.com/rust-lang/chalk.git)",
1218 "chalk-solve 0.1.0 (git+https://github.com/rust-lang/chalk.git)", 1257 "chalk-solve 0.1.0 (git+https://github.com/rust-lang/chalk.git)",
1219 "ena 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)", 1258 "ena 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)",
1220 "insta 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", 1259 "insta 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
1221 "lalrpop-intern 0.15.1 (registry+https://github.com/rust-lang/crates.io-index)", 1260 "lalrpop-intern 0.15.1 (registry+https://github.com/rust-lang/crates.io-index)",
1222 "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", 1261 "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
1223 "once_cell 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", 1262 "once_cell 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
1224 "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", 1263 "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
1225 "ra_arena 0.1.0", 1264 "ra_arena 0.1.0",
1226 "ra_db 0.1.0", 1265 "ra_db 0.1.0",
@@ -1239,7 +1278,7 @@ version = "0.1.0"
1239dependencies = [ 1278dependencies = [
1240 "format-buf 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", 1279 "format-buf 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
1241 "fst 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", 1280 "fst 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
1242 "insta 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)", 1281 "insta 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)",
1243 "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", 1282 "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
1244 "join_to_string 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", 1283 "join_to_string 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)",
1245 "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", 1284 "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1317,7 +1356,7 @@ dependencies = [
1317 "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", 1356 "itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)",
1318 "jemalloc-ctl 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", 1357 "jemalloc-ctl 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)",
1319 "jemallocator 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", 1358 "jemallocator 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)",
1320 "once_cell 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", 1359 "once_cell 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)",
1321] 1360]
1322 1361
1323[[package]] 1362[[package]]
@@ -1409,7 +1448,7 @@ version = "0.6.5"
1409source = "registry+https://github.com/rust-lang/crates.io-index" 1448source = "registry+https://github.com/rust-lang/crates.io-index"
1410dependencies = [ 1449dependencies = [
1411 "autocfg 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", 1450 "autocfg 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)",
1412 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 1451 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
1413 "rand_chacha 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", 1452 "rand_chacha 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
1414 "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", 1453 "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
1415 "rand_hc 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", 1454 "rand_hc 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1426,8 +1465,8 @@ name = "rand"
1426version = "0.7.0" 1465version = "0.7.0"
1427source = "registry+https://github.com/rust-lang/crates.io-index" 1466source = "registry+https://github.com/rust-lang/crates.io-index"
1428dependencies = [ 1467dependencies = [
1429 "getrandom 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", 1468 "getrandom 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
1430 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 1469 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
1431 "rand_chacha 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", 1470 "rand_chacha 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)",
1432 "rand_core 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", 1471 "rand_core 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)",
1433 "rand_hc 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", 1472 "rand_hc 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1470,7 +1509,7 @@ name = "rand_core"
1470version = "0.5.0" 1509version = "0.5.0"
1471source = "registry+https://github.com/rust-lang/crates.io-index" 1510source = "registry+https://github.com/rust-lang/crates.io-index"
1472dependencies = [ 1511dependencies = [
1473 "getrandom 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", 1512 "getrandom 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
1474] 1513]
1475 1514
1476[[package]] 1515[[package]]
@@ -1502,7 +1541,7 @@ name = "rand_jitter"
1502version = "0.1.4" 1541version = "0.1.4"
1503source = "registry+https://github.com/rust-lang/crates.io-index" 1542source = "registry+https://github.com/rust-lang/crates.io-index"
1504dependencies = [ 1543dependencies = [
1505 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 1544 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
1506 "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", 1545 "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
1507 "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", 1546 "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
1508] 1547]
@@ -1514,7 +1553,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1514dependencies = [ 1553dependencies = [
1515 "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)", 1554 "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)",
1516 "fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", 1555 "fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)",
1517 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 1556 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
1518 "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", 1557 "rand_core 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)",
1519 "rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", 1558 "rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)",
1520 "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", 1559 "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1632,7 +1671,7 @@ dependencies = [
1632 1671
1633[[package]] 1672[[package]]
1634name = "rustc-demangle" 1673name = "rustc-demangle"
1635version = "0.1.15" 1674version = "0.1.16"
1636source = "registry+https://github.com/rust-lang/crates.io-index" 1675source = "registry+https://github.com/rust-lang/crates.io-index"
1637 1676
1638[[package]] 1677[[package]]
@@ -1658,29 +1697,29 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1658 1697
1659[[package]] 1698[[package]]
1660name = "salsa" 1699name = "salsa"
1661version = "0.12.3" 1700version = "0.13.0"
1662source = "registry+https://github.com/rust-lang/crates.io-index" 1701source = "registry+https://github.com/rust-lang/crates.io-index"
1663dependencies = [ 1702dependencies = [
1703 "crossbeam 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)",
1664 "derive-new 0.5.7 (registry+https://github.com/rust-lang/crates.io-index)", 1704 "derive-new 0.5.7 (registry+https://github.com/rust-lang/crates.io-index)",
1665 "indexmap 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", 1705 "indexmap 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)",
1666 "linked-hash-map 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
1667 "lock_api 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
1668 "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", 1706 "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)",
1669 "parking_lot 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", 1707 "parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)",
1708 "rand 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
1670 "rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", 1709 "rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)",
1671 "salsa-macros 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)", 1710 "salsa-macros 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)",
1672 "smallvec 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)", 1711 "smallvec 0.6.10 (registry+https://github.com/rust-lang/crates.io-index)",
1673] 1712]
1674 1713
1675[[package]] 1714[[package]]
1676name = "salsa-macros" 1715name = "salsa-macros"
1677version = "0.12.1" 1716version = "0.13.0"
1678source = "registry+https://github.com/rust-lang/crates.io-index" 1717source = "registry+https://github.com/rust-lang/crates.io-index"
1679dependencies = [ 1718dependencies = [
1680 "heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", 1719 "heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)",
1681 "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", 1720 "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
1682 "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)", 1721 "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
1683 "syn 0.15.42 (registry+https://github.com/rust-lang/crates.io-index)", 1722 "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
1684] 1723]
1685 1724
1686[[package]] 1725[[package]]
@@ -1725,7 +1764,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1725dependencies = [ 1764dependencies = [
1726 "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", 1765 "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
1727 "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)", 1766 "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
1728 "syn 0.15.42 (registry+https://github.com/rust-lang/crates.io-index)", 1767 "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
1729] 1768]
1730 1769
1731[[package]] 1770[[package]]
@@ -1791,9 +1830,9 @@ name = "stacker"
1791version = "0.1.5" 1830version = "0.1.5"
1792source = "registry+https://github.com/rust-lang/crates.io-index" 1831source = "registry+https://github.com/rust-lang/crates.io-index"
1793dependencies = [ 1832dependencies = [
1794 "cc 1.0.38 (registry+https://github.com/rust-lang/crates.io-index)", 1833 "cc 1.0.40 (registry+https://github.com/rust-lang/crates.io-index)",
1795 "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", 1834 "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
1796 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 1835 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
1797 "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", 1836 "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
1798] 1837]
1799 1838
@@ -1809,7 +1848,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
1809 1848
1810[[package]] 1849[[package]]
1811name = "syn" 1850name = "syn"
1812version = "0.15.42" 1851version = "0.15.44"
1813source = "registry+https://github.com/rust-lang/crates.io-index" 1852source = "registry+https://github.com/rust-lang/crates.io-index"
1814dependencies = [ 1853dependencies = [
1815 "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", 1854 "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1818,13 +1857,23 @@ dependencies = [
1818] 1857]
1819 1858
1820[[package]] 1859[[package]]
1860name = "syn"
1861version = "1.0.1"
1862source = "registry+https://github.com/rust-lang/crates.io-index"
1863dependencies = [
1864 "proc-macro2 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
1865 "quote 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
1866 "unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
1867]
1868
1869[[package]]
1821name = "synstructure" 1870name = "synstructure"
1822version = "0.10.2" 1871version = "0.10.2"
1823source = "registry+https://github.com/rust-lang/crates.io-index" 1872source = "registry+https://github.com/rust-lang/crates.io-index"
1824dependencies = [ 1873dependencies = [
1825 "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)", 1874 "proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)",
1826 "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)", 1875 "quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)",
1827 "syn 0.15.42 (registry+https://github.com/rust-lang/crates.io-index)", 1876 "syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)",
1828 "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", 1877 "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
1829] 1878]
1830 1879
@@ -1834,7 +1883,7 @@ version = "3.1.0"
1834source = "registry+https://github.com/rust-lang/crates.io-index" 1883source = "registry+https://github.com/rust-lang/crates.io-index"
1835dependencies = [ 1884dependencies = [
1836 "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", 1885 "cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)",
1837 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 1886 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
1838 "rand 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", 1887 "rand 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)",
1839 "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)", 1888 "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)",
1840 "remove_dir_all 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", 1889 "remove_dir_all 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)",
@@ -1876,7 +1925,7 @@ name = "termios"
1876version = "0.3.1" 1925version = "0.3.1"
1877source = "registry+https://github.com/rust-lang/crates.io-index" 1926source = "registry+https://github.com/rust-lang/crates.io-index"
1878dependencies = [ 1927dependencies = [
1879 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 1928 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
1880] 1929]
1881 1930
1882[[package]] 1931[[package]]
@@ -1930,7 +1979,7 @@ name = "time"
1930version = "0.1.42" 1979version = "0.1.42"
1931source = "registry+https://github.com/rust-lang/crates.io-index" 1980source = "registry+https://github.com/rust-lang/crates.io-index"
1932dependencies = [ 1981dependencies = [
1933 "libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)", 1982 "libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)",
1934 "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)", 1983 "redox_syscall 0.1.56 (registry+https://github.com/rust-lang/crates.io-index)",
1935 "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)", 1984 "winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)",
1936] 1985]
@@ -2029,6 +2078,11 @@ version = "0.1.0"
2029source = "registry+https://github.com/rust-lang/crates.io-index" 2078source = "registry+https://github.com/rust-lang/crates.io-index"
2030 2079
2031[[package]] 2080[[package]]
2081name = "unicode-xid"
2082version = "0.2.0"
2083source = "registry+https://github.com/rust-lang/crates.io-index"
2084
2085[[package]]
2032name = "url" 2086name = "url"
2033version = "1.7.2" 2087version = "1.7.2"
2034source = "registry+https://github.com/rust-lang/crates.io-index" 2088source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2077,6 +2131,11 @@ dependencies = [
2077] 2131]
2078 2132
2079[[package]] 2133[[package]]
2134name = "wasi"
2135version = "0.5.0"
2136source = "registry+https://github.com/rust-lang/crates.io-index"
2137
2138[[package]]
2080name = "winapi" 2139name = "winapi"
2081version = "0.2.8" 2140version = "0.2.8"
2082source = "registry+https://github.com/rust-lang/crates.io-index" 2141source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -2150,12 +2209,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
2150"checksum bitflags 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3d155346769a6855b86399e9bc3814ab343cd3d62c7e985113d46a0ec3c281fd" 2209"checksum bitflags 1.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3d155346769a6855b86399e9bc3814ab343cd3d62c7e985113d46a0ec3c281fd"
2151"checksum block-buffer 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b" 2210"checksum block-buffer 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b"
2152"checksum block-padding 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "6d4dc3af3ee2e12f3e5d224e5e1e3d73668abbeb69e566d361f7d5563a4fdf09" 2211"checksum block-padding 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "6d4dc3af3ee2e12f3e5d224e5e1e3d73668abbeb69e566d361f7d5563a4fdf09"
2153"checksum bstr 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "e0a692f1c740e7e821ca71a22cf99b9b2322dfa94d10f71443befb1797b3946a" 2212"checksum bstr 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)" = "94cdf78eb7e94c566c1f5dbe2abf8fc70a548fc902942a48c4b3a98b48ca9ade"
2154"checksum byte-tools 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" 2213"checksum byte-tools 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7"
2155"checksum byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "a7c3dd8985a7111efc5c80b44e23ecdd8c007de8ade3b96595387e812b957cf5" 2214"checksum byteorder 1.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "a7c3dd8985a7111efc5c80b44e23ecdd8c007de8ade3b96595387e812b957cf5"
2156"checksum c2-chacha 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7d64d04786e0f528460fc884753cf8dddcc466be308f6026f8e355c41a0e4101" 2215"checksum c2-chacha 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7d64d04786e0f528460fc884753cf8dddcc466be308f6026f8e355c41a0e4101"
2157"checksum cargo_metadata 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "5e904f164f39cae0c3a4f2713eb97a47ba64676a071e99a69ddfef4994694d2c" 2216"checksum cargo_metadata 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "5e904f164f39cae0c3a4f2713eb97a47ba64676a071e99a69ddfef4994694d2c"
2158"checksum cc 1.0.38 (registry+https://github.com/rust-lang/crates.io-index)" = "ce400c638d48ee0e9ab75aef7997609ec57367ccfe1463f21bf53c3eca67bf46" 2217"checksum cc 1.0.40 (registry+https://github.com/rust-lang/crates.io-index)" = "b548a4ee81fccb95919d4e22cfea83c7693ebfd78f0495493178db20b3139da7"
2159"checksum cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)" = "b486ce3ccf7ffd79fdeb678eac06a9e6c09fc88d33836340becb8fffe87c5e33" 2218"checksum cfg-if 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)" = "b486ce3ccf7ffd79fdeb678eac06a9e6c09fc88d33836340becb8fffe87c5e33"
2160"checksum chalk-engine 0.9.0 (git+https://github.com/rust-lang/chalk.git)" = "<none>" 2219"checksum chalk-engine 0.9.0 (git+https://github.com/rust-lang/chalk.git)" = "<none>"
2161"checksum chalk-ir 0.1.0 (git+https://github.com/rust-lang/chalk.git)" = "<none>" 2220"checksum chalk-ir 0.1.0 (git+https://github.com/rust-lang/chalk.git)" = "<none>"
@@ -2169,8 +2228,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
2169"checksum cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f" 2228"checksum cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f"
2170"checksum console 0.7.7 (registry+https://github.com/rust-lang/crates.io-index)" = "8ca57c2c14b8a2bf3105bc9d15574aad80babf6a9c44b1058034cdf8bd169628" 2229"checksum console 0.7.7 (registry+https://github.com/rust-lang/crates.io-index)" = "8ca57c2c14b8a2bf3105bc9d15574aad80babf6a9c44b1058034cdf8bd169628"
2171"checksum cpuprofiler 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "33f07976bb6821459632d7a18d97ccca005cb5c552f251f822c7c1781c1d7035" 2230"checksum cpuprofiler 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "33f07976bb6821459632d7a18d97ccca005cb5c552f251f822c7c1781c1d7035"
2231"checksum crossbeam 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "2d818a4990769aac0c7ff1360e233ef3a41adcb009ebb2036bf6915eb0f6b23c"
2172"checksum crossbeam-channel 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "c8ec7fcd21571dc78f96cc96243cab8d8f035247c3efd16c687be154c3fa9efa" 2232"checksum crossbeam-channel 0.3.9 (registry+https://github.com/rust-lang/crates.io-index)" = "c8ec7fcd21571dc78f96cc96243cab8d8f035247c3efd16c687be154c3fa9efa"
2173"checksum crossbeam-deque 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)" = "05e44b8cf3e1a625844d1750e1f7820da46044ff6d28f4d43e455ba3e5bb2c13" 2233"checksum crossbeam-deque 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)" = "05e44b8cf3e1a625844d1750e1f7820da46044ff6d28f4d43e455ba3e5bb2c13"
2234"checksum crossbeam-deque 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b18cd2e169ad86297e6bc0ad9aa679aee9daa4f19e8163860faf7c164e4f5a71"
2174"checksum crossbeam-epoch 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "fedcd6772e37f3da2a9af9bf12ebe046c0dfe657992377b4df982a2b54cd37a9" 2235"checksum crossbeam-epoch 0.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "fedcd6772e37f3da2a9af9bf12ebe046c0dfe657992377b4df982a2b54cd37a9"
2175"checksum crossbeam-queue 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7c979cd6cfe72335896575c6b5688da489e420d36a27a0b9eb0c73db574b4a4b" 2236"checksum crossbeam-queue 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7c979cd6cfe72335896575c6b5688da489e420d36a27a0b9eb0c73db574b4a4b"
2176"checksum crossbeam-utils 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)" = "04973fa96e96579258a5091af6003abde64af786b860f18622b82e026cca60e6" 2237"checksum crossbeam-utils 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)" = "04973fa96e96579258a5091af6003abde64af786b860f18622b82e026cca60e6"
@@ -2203,7 +2264,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
2203"checksum fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" 2264"checksum fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82"
2204"checksum fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" 2265"checksum fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7"
2205"checksum generic-array 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)" = "c68f0274ae0e023facc3c97b2e00f076be70e254bc851d972503b328db79b2ec" 2266"checksum generic-array 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)" = "c68f0274ae0e023facc3c97b2e00f076be70e254bc851d972503b328db79b2ec"
2206"checksum getrandom 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "34f33de6f0ae7c9cb5e574502a562e2b512799e32abb801cd1e79ad952b62b49" 2267"checksum getrandom 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)" = "2512b3191f22e2763a5db387f1c9409379772e2050841722eb4a8c4f497bf096"
2207"checksum glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "8be18de09a56b60ed0edf84bc9df007e30040691af7acd1c41874faac5895bfb" 2268"checksum glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "8be18de09a56b60ed0edf84bc9df007e30040691af7acd1c41874faac5895bfb"
2208"checksum glob 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574" 2269"checksum glob 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
2209"checksum globset 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "925aa2cac82d8834e2b2a4415b6f6879757fb5c0928fc445ae76461a12eed8f2" 2270"checksum globset 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "925aa2cac82d8834e2b2a4415b6f6879757fb5c0928fc445ae76461a12eed8f2"
@@ -2214,7 +2275,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
2214"checksum indicatif 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "2c60da1c9abea75996b70a931bba6c750730399005b61ccd853cee50ef3d0d0c" 2275"checksum indicatif 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "2c60da1c9abea75996b70a931bba6c750730399005b61ccd853cee50ef3d0d0c"
2215"checksum inotify 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)" = "40b54539f3910d6f84fbf9a643efd6e3aa6e4f001426c0329576128255994718" 2276"checksum inotify 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)" = "40b54539f3910d6f84fbf9a643efd6e3aa6e4f001426c0329576128255994718"
2216"checksum inotify-sys 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "e74a1aa87c59aeff6ef2cc2fa62d41bc43f54952f55652656b18a02fd5e356c0" 2277"checksum inotify-sys 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "e74a1aa87c59aeff6ef2cc2fa62d41bc43f54952f55652656b18a02fd5e356c0"
2217"checksum insta 0.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "00eef45accbe65bfb859ad16649c6b4bed246768d89493473d9ab6c6a0eb908f" 2278"checksum insta 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "fcb8917b02e8fee27da19291be792fa53acec68ea0b7a45a914dcb80a67d42ab"
2218"checksum iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dbe6e417e7d0975db6512b90796e8ce223145ac4e33c377e4a42882a0e88bb08" 2279"checksum iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dbe6e417e7d0975db6512b90796e8ce223145ac4e33c377e4a42882a0e88bb08"
2219"checksum itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5b8467d9c1cebe26feb08c640139247fac215782d35371ade9a2136ed6085358" 2280"checksum itertools 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5b8467d9c1cebe26feb08c640139247fac215782d35371ade9a2136ed6085358"
2220"checksum itoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "501266b7edd0174f8530248f87f99c88fbe60ca4ef3dd486835b8d8d53136f7f" 2281"checksum itoa 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "501266b7edd0174f8530248f87f99c88fbe60ca4ef3dd486835b8d8d53136f7f"
@@ -2227,7 +2288,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
2227"checksum lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "76f033c7ad61445c5b347c7382dd1237847eb1bce590fe50365dcb33d546be73" 2288"checksum lazy_static 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "76f033c7ad61445c5b347c7382dd1237847eb1bce590fe50365dcb33d546be73"
2228"checksum lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bc5729f27f159ddd61f4df6228e827e86643d4d3e7c32183cb30a1c08f604a14" 2289"checksum lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bc5729f27f159ddd61f4df6228e827e86643d4d3e7c32183cb30a1c08f604a14"
2229"checksum lazycell 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b294d6fa9ee409a054354afc4352b0b9ef7ca222c69b8812cbea9e7d2bf3783f" 2290"checksum lazycell 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b294d6fa9ee409a054354afc4352b0b9ef7ca222c69b8812cbea9e7d2bf3783f"
2230"checksum libc 0.2.60 (registry+https://github.com/rust-lang/crates.io-index)" = "d44e80633f007889c7eff624b709ab43c92d708caad982295768a7b13ca3b5eb" 2291"checksum libc 0.2.62 (registry+https://github.com/rust-lang/crates.io-index)" = "34fcd2c08d2f832f376f4173a231990fa5aef4e99fb569867318a227ef4c06ba"
2231"checksum linked-hash-map 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "ae91b68aebc4ddb91978b11a1b02ddd8602a05ec19002801c5666000e05e0f83" 2292"checksum linked-hash-map 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "ae91b68aebc4ddb91978b11a1b02ddd8602a05ec19002801c5666000e05e0f83"
2232"checksum lock_api 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ed946d4529956a20f2d63ebe1b69996d5a2137c91913fe3ebbeff957f5bca7ff" 2293"checksum lock_api 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ed946d4529956a20f2d63ebe1b69996d5a2137c91913fe3ebbeff957f5bca7ff"
2233"checksum lock_api 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f8912e782533a93a167888781b836336a6ca5da6175c05944c86cf28c31104dc" 2294"checksum lock_api 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f8912e782533a93a167888781b836336a6ca5da6175c05944c86cf28c31104dc"
@@ -2248,15 +2309,15 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
2248"checksum num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "6ba9a427cfca2be13aa6f6403b0b7e7368fe982bfa16fccc450ce74c46cd9b32" 2309"checksum num-traits 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "6ba9a427cfca2be13aa6f6403b0b7e7368fe982bfa16fccc450ce74c46cd9b32"
2249"checksum num_cpus 1.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "bcef43580c035376c0705c42792c294b66974abbfd2789b511784023f71f3273" 2310"checksum num_cpus 1.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "bcef43580c035376c0705c42792c294b66974abbfd2789b511784023f71f3273"
2250"checksum number_prefix 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "dbf9993e59c894e3c08aa1c2712914e9e6bf1fcbfc6bef283e2183df345a4fee" 2311"checksum number_prefix 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "dbf9993e59c894e3c08aa1c2712914e9e6bf1fcbfc6bef283e2183df345a4fee"
2251"checksum once_cell 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "d584f08c2d717d5c23a6414fc2822b71c651560713e54fa7eace675f758a355e" 2312"checksum once_cell 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "1824583b0e4dc0c1716eea4fb51a9ca2634943f0b07fd929e79af6aeb5a513cc"
2252"checksum opaque-debug 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c" 2313"checksum opaque-debug 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c"
2253"checksum ordermap 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "a86ed3f5f244b372d6b1a00b72ef7f8876d0bc6a78a4c9985c53614041512063" 2314"checksum ordermap 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "a86ed3f5f244b372d6b1a00b72ef7f8876d0bc6a78a4c9985c53614041512063"
2254"checksum parking_lot 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fa7767817701cce701d5585b9c4db3cdd02086398322c1d7e8bf5094a96a2ce7" 2315"checksum parking_lot 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fa7767817701cce701d5585b9c4db3cdd02086398322c1d7e8bf5094a96a2ce7"
2255"checksum parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f842b1982eb6c2fe34036a4fbfb06dd185a3f5c8edfaacdf7d1ea10b07de6252" 2316"checksum parking_lot 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f842b1982eb6c2fe34036a4fbfb06dd185a3f5c8edfaacdf7d1ea10b07de6252"
2256"checksum parking_lot_core 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "cb88cb1cb3790baa6776844f968fea3be44956cf184fa1be5a03341f5491278c" 2317"checksum parking_lot_core 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "cb88cb1cb3790baa6776844f968fea3be44956cf184fa1be5a03341f5491278c"
2257"checksum parking_lot_core 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "b876b1b9e7ac6e1a74a6da34d25c42e17e8862aa409cbbbdcfc8d86c6f3bc62b" 2318"checksum parking_lot_core 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "b876b1b9e7ac6e1a74a6da34d25c42e17e8862aa409cbbbdcfc8d86c6f3bc62b"
2258"checksum paste 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "1f4a4a1c555c6505821f9d58b8779d0f630a6b7e4e1be24ba718610acf01fa79" 2319"checksum paste 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "423a519e1c6e828f1e73b720f9d9ed2fa643dce8a7737fb43235ce0b41eeaa49"
2259"checksum paste-impl 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "26e796e623b8b257215f27e6c80a5478856cae305f5b59810ff9acdaa34570e6" 2320"checksum paste-impl 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "4214c9e912ef61bf42b81ba9a47e8aad1b2ffaf739ab162bf96d1e011f54e6c5"
2260"checksum percent-encoding 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831" 2321"checksum percent-encoding 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831"
2261"checksum pest 2.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "933085deae3f32071f135d799d75667b63c8dc1f4537159756e3d4ceab41868c" 2322"checksum pest 2.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "933085deae3f32071f135d799d75667b63c8dc1f4537159756e3d4ceab41868c"
2262"checksum pest_derive 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "833d1ae558dc601e9a60366421196a8d94bc0ac980476d0b67e1d0988d72b2d0" 2323"checksum pest_derive 2.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "833d1ae558dc601e9a60366421196a8d94bc0ac980476d0b67e1d0988d72b2d0"
@@ -2264,11 +2325,13 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
2264"checksum pest_meta 2.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f249ea6de7c7b7aba92b4ff4376a994c6dbd98fd2166c89d5c4947397ecb574d" 2325"checksum pest_meta 2.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f249ea6de7c7b7aba92b4ff4376a994c6dbd98fd2166c89d5c4947397ecb574d"
2265"checksum petgraph 0.4.13 (registry+https://github.com/rust-lang/crates.io-index)" = "9c3659d1ee90221741f65dd128d9998311b0e40c5d3c23a62445938214abce4f" 2326"checksum petgraph 0.4.13 (registry+https://github.com/rust-lang/crates.io-index)" = "9c3659d1ee90221741f65dd128d9998311b0e40c5d3c23a62445938214abce4f"
2266"checksum ppv-lite86 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "e3cbf9f658cdb5000fcf6f362b8ea2ba154b9f146a61c7a20d647034c6b6561b" 2327"checksum ppv-lite86 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "e3cbf9f658cdb5000fcf6f362b8ea2ba154b9f146a61c7a20d647034c6b6561b"
2267"checksum proc-macro-hack 0.5.8 (registry+https://github.com/rust-lang/crates.io-index)" = "982a35d1194084ba319d65c4a68d24ca28f5fdb5b8bc20899e4eef8641ea5178" 2328"checksum proc-macro-hack 0.5.9 (registry+https://github.com/rust-lang/crates.io-index)" = "e688f31d92ffd7c1ddc57a1b4e6d773c0f2a14ee437a4b0a4f5a69c80eb221c8"
2268"checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759" 2329"checksum proc-macro2 0.4.30 (registry+https://github.com/rust-lang/crates.io-index)" = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
2330"checksum proc-macro2 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "19f287c234c9b2d0308d692dee5c449c1a171167a6f8150f7cf2a49d8fd96967"
2269"checksum proptest 0.9.4 (registry+https://github.com/rust-lang/crates.io-index)" = "cf147e022eacf0c8a054ab864914a7602618adba841d800a9a9868a5237a529f" 2331"checksum proptest 0.9.4 (registry+https://github.com/rust-lang/crates.io-index)" = "cf147e022eacf0c8a054ab864914a7602618adba841d800a9a9868a5237a529f"
2270"checksum quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9274b940887ce9addde99c4eee6b5c44cc494b182b97e73dc8ffdcb3397fd3f0" 2332"checksum quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9274b940887ce9addde99c4eee6b5c44cc494b182b97e73dc8ffdcb3397fd3f0"
2271"checksum quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1" 2333"checksum quote 0.6.13 (registry+https://github.com/rust-lang/crates.io-index)" = "6ce23b6b870e8f94f81fb0a363d65d86675884b34a09043c81e5562f11c1f8e1"
2334"checksum quote 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7ab938ebe6f1c82426b5fb82eaf10c3e3028c53deaa3fbe38f5904b37cf4d767"
2272"checksum ra_rustc_lexer 0.1.0-pre.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6baccda91574dfadd7f8a0bc8f9f110f874b6b484289b2536d3dbf4f0d5d97bb" 2335"checksum ra_rustc_lexer 0.1.0-pre.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6baccda91574dfadd7f8a0bc8f9f110f874b6b484289b2536d3dbf4f0d5d97bb"
2273"checksum ra_vfs 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "fb7cd4e302032c5ab514f1c01c89727cd96fd950dd36f9ebee9252df45d9fb1a" 2336"checksum ra_vfs 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "fb7cd4e302032c5ab514f1c01c89727cd96fd950dd36f9ebee9252df45d9fb1a"
2274"checksum rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)" = "6d71dacdc3c88c1fde3885a3be3fbab9f35724e6ce99467f7d9c5026132184ca" 2337"checksum rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)" = "6d71dacdc3c88c1fde3885a3be3fbab9f35724e6ce99467f7d9c5026132184ca"
@@ -2296,12 +2359,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
2296"checksum remove_dir_all 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "4a83fa3702a688b9359eccba92d153ac33fd2e8462f9e0e3fdf155239ea7792e" 2359"checksum remove_dir_all 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "4a83fa3702a688b9359eccba92d153ac33fd2e8462f9e0e3fdf155239ea7792e"
2297"checksum ron 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "17f52a24414403f81528b67488cf8edc4eda977d3af1646bb6b106a600ead78f" 2360"checksum ron 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "17f52a24414403f81528b67488cf8edc4eda977d3af1646bb6b106a600ead78f"
2298"checksum rowan 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dc2b79612dedc9004083a61448eb669d336d56690aab29fbd7249e8c8ab41d8c" 2361"checksum rowan 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dc2b79612dedc9004083a61448eb669d336d56690aab29fbd7249e8c8ab41d8c"
2299"checksum rustc-demangle 0.1.15 (registry+https://github.com/rust-lang/crates.io-index)" = "a7f4dccf6f4891ebcc0c39f9b6eb1a83b9bf5d747cb439ec6fba4f3b977038af" 2362"checksum rustc-demangle 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)" = "4c691c0e608126e00913e33f0ccf3727d5fc84573623b8d65b2df340b5201783"
2300"checksum rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7540fc8b0c49f096ee9c961cda096467dce8084bec6bdca2fc83895fd9b28cb8" 2363"checksum rustc-hash 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "7540fc8b0c49f096ee9c961cda096467dce8084bec6bdca2fc83895fd9b28cb8"
2301"checksum rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" 2364"checksum rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a"
2302"checksum ryu 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "c92464b447c0ee8c4fb3824ecc8383b81717b9f1e74ba2e72540aef7b9f82997" 2365"checksum ryu 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "c92464b447c0ee8c4fb3824ecc8383b81717b9f1e74ba2e72540aef7b9f82997"
2303"checksum salsa 0.12.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2891cd628406e8a0ca714b827511de1bff76f796e3382cc72a3de732ccad5aea" 2366"checksum salsa 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e3265a2a9bbd384bd2a9f9511c2c18fb41f62c412516052e8934517dc8ff64f1"
2304"checksum salsa-macros 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b7f1e25ca2b995bdf032946174929d62156ffd57abd7ff88dc6f9bdeb5ac0c59" 2367"checksum salsa-macros 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)" = "377ce29c5660dcc5c3f66660a7e49940b8328e3d940255ef9d4c2be1f7b474a9"
2305"checksum same-file 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "585e8ddcedc187886a30fa705c47985c3fa88d06624095856b36ca0b82ff4421" 2368"checksum same-file 1.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "585e8ddcedc187886a30fa705c47985c3fa88d06624095856b36ca0b82ff4421"
2306"checksum scopeguard 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b42e15e59b18a828bbf5c58ea01debb36b9b096346de35d941dcb89009f24a0d" 2369"checksum scopeguard 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "b42e15e59b18a828bbf5c58ea01debb36b9b096346de35d941dcb89009f24a0d"
2307"checksum semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" 2370"checksum semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403"
@@ -2318,7 +2381,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
2318"checksum stacker 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "fb79482f57cf598af52094ec4cc3b3c42499d3ce5bd426f2ac41515b7e57404b" 2381"checksum stacker 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "fb79482f57cf598af52094ec4cc3b3c42499d3ce5bd426f2ac41515b7e57404b"
2319"checksum strsim 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a" 2382"checksum strsim 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
2320"checksum superslice 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ab16ced94dbd8a46c82fd81e3ed9a8727dac2977ea869d217bcc4ea1f122e81f" 2383"checksum superslice 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ab16ced94dbd8a46c82fd81e3ed9a8727dac2977ea869d217bcc4ea1f122e81f"
2321"checksum syn 0.15.42 (registry+https://github.com/rust-lang/crates.io-index)" = "eadc09306ca51a40555dd6fc2b415538e9e18bc9f870e47b1a524a79fe2dcf5e" 2384"checksum syn 0.15.44 (registry+https://github.com/rust-lang/crates.io-index)" = "9ca4b3b69a77cbe1ffc9e198781b7acb0c7365a883670e8f1c1bc66fba79a5c5"
2385"checksum syn 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "863ecbce06044c8380458360b4146d7372edadfedd77f120ba8c193da427b708"
2322"checksum synstructure 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)" = "02353edf96d6e4dc81aea2d8490a7e9db177bf8acb0e951c24940bf866cb313f" 2386"checksum synstructure 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)" = "02353edf96d6e4dc81aea2d8490a7e9db177bf8acb0e951c24940bf866cb313f"
2323"checksum tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9" 2387"checksum tempfile 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9"
2324"checksum tera 0.11.20 (registry+https://github.com/rust-lang/crates.io-index)" = "4b505279e19d8f7d24b1a9dc58327c9c36174b1a2c7ebdeac70792d017cb64f3" 2388"checksum tera 0.11.20 (registry+https://github.com/rust-lang/crates.io-index)" = "4b505279e19d8f7d24b1a9dc58327c9c36174b1a2c7ebdeac70792d017cb64f3"
@@ -2343,12 +2407,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
2343"checksum unicode-segmentation 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1967f4cdfc355b37fd76d2a954fb2ed3871034eb4f26d60537d88795cfc332a9" 2407"checksum unicode-segmentation 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1967f4cdfc355b37fd76d2a954fb2ed3871034eb4f26d60537d88795cfc332a9"
2344"checksum unicode-width 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "882386231c45df4700b275c7ff55b6f3698780a650026380e72dabe76fa46526" 2408"checksum unicode-width 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "882386231c45df4700b275c7ff55b6f3698780a650026380e72dabe76fa46526"
2345"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc" 2409"checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
2410"checksum unicode-xid 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c"
2346"checksum url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dd4e7c0d531266369519a4aa4f399d748bd37043b00bde1e4ff1f60a120b355a" 2411"checksum url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dd4e7c0d531266369519a4aa4f399d748bd37043b00bde1e4ff1f60a120b355a"
2347"checksum url_serde 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "74e7d099f1ee52f823d4bdd60c93c3602043c728f5db3b97bdb548467f7bddea" 2412"checksum url_serde 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "74e7d099f1ee52f823d4bdd60c93c3602043c728f5db3b97bdb548467f7bddea"
2348"checksum uuid 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)" = "90dbc611eb48397705a6b0f6e917da23ae517e4d127123d2cf7674206627d32a" 2413"checksum uuid 0.7.4 (registry+https://github.com/rust-lang/crates.io-index)" = "90dbc611eb48397705a6b0f6e917da23ae517e4d127123d2cf7674206627d32a"
2349"checksum vec_map 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "05c78687fb1a80548ae3250346c3db86a80a7cdd77bda190189f2d0a0987c81a" 2414"checksum vec_map 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)" = "05c78687fb1a80548ae3250346c3db86a80a7cdd77bda190189f2d0a0987c81a"
2350"checksum version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "914b1a6776c4c929a602fafd8bc742e06365d4bcbe48c30f9cca5824f70dc9dd" 2415"checksum version_check 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "914b1a6776c4c929a602fafd8bc742e06365d4bcbe48c30f9cca5824f70dc9dd"
2351"checksum walkdir 2.2.9 (registry+https://github.com/rust-lang/crates.io-index)" = "9658c94fa8b940eab2250bd5a457f9c48b748420d71293b165c8cdbe2f55f71e" 2416"checksum walkdir 2.2.9 (registry+https://github.com/rust-lang/crates.io-index)" = "9658c94fa8b940eab2250bd5a457f9c48b748420d71293b165c8cdbe2f55f71e"
2417"checksum wasi 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fd5442abcac6525a045cc8c795aedb60da7a2e5e89c7bf18a0d5357849bb23c7"
2352"checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" 2418"checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a"
2353"checksum winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)" = "f10e386af2b13e47c89e7236a7a14a086791a2b88ebad6df9bf42040195cf770" 2419"checksum winapi 0.3.7 (registry+https://github.com/rust-lang/crates.io-index)" = "f10e386af2b13e47c89e7236a7a14a086791a2b88ebad6df9bf42040195cf770"
2354"checksum winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" 2420"checksum winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc"
diff --git a/crates/ra_cli/src/analysis_bench.rs b/crates/ra_cli/src/analysis_bench.rs
index 5e9d0c16d..9e76bcebf 100644
--- a/crates/ra_cli/src/analysis_bench.rs
+++ b/crates/ra_cli/src/analysis_bench.rs
@@ -1,10 +1,14 @@
1use std::{ 1use std::{
2 path::{Path, PathBuf}, 2 path::{Path, PathBuf},
3 sync::Arc,
3 time::Instant, 4 time::Instant,
4}; 5};
5 6
6use ra_db::{salsa::Database, SourceDatabase}; 7use ra_db::{
7use ra_ide_api::{Analysis, AnalysisHost, FilePosition, LineCol}; 8 salsa::{Database, Durability},
9 FileId, SourceDatabase,
10};
11use ra_ide_api::{Analysis, AnalysisChange, AnalysisHost, FilePosition, LineCol};
8 12
9use crate::Result; 13use crate::Result;
10 14
@@ -16,7 +20,7 @@ pub(crate) enum Op {
16pub(crate) fn run(verbose: bool, path: &Path, op: Op) -> Result<()> { 20pub(crate) fn run(verbose: bool, path: &Path, op: Op) -> Result<()> {
17 let start = Instant::now(); 21 let start = Instant::now();
18 eprint!("loading: "); 22 eprint!("loading: ");
19 let (host, roots) = ra_batch::load_cargo(path)?; 23 let (mut host, roots) = ra_batch::load_cargo(path)?;
20 let db = host.raw_database(); 24 let db = host.raw_database();
21 eprintln!("{:?}\n", start.elapsed()); 25 eprintln!("{:?}\n", start.elapsed());
22 26
@@ -44,7 +48,7 @@ pub(crate) fn run(verbose: bool, path: &Path, op: Op) -> Result<()> {
44 48
45 match op { 49 match op {
46 Op::Highlight { .. } => { 50 Op::Highlight { .. } => {
47 let res = do_work(&host, |analysis| { 51 let res = do_work(&mut host, file_id, |analysis| {
48 analysis.diagnostics(file_id).unwrap(); 52 analysis.diagnostics(file_id).unwrap();
49 analysis.highlight_as_html(file_id, false).unwrap() 53 analysis.highlight_as_html(file_id, false).unwrap()
50 }); 54 });
@@ -59,7 +63,7 @@ pub(crate) fn run(verbose: bool, path: &Path, op: Op) -> Result<()> {
59 .offset(LineCol { line, col_utf16: column }); 63 .offset(LineCol { line, col_utf16: column });
60 let file_postion = FilePosition { file_id, offset }; 64 let file_postion = FilePosition { file_id, offset };
61 65
62 let res = do_work(&host, |analysis| analysis.completions(file_postion)); 66 let res = do_work(&mut host, file_id, |analysis| analysis.completions(file_postion));
63 if verbose { 67 if verbose {
64 println!("\n{:#?}", res); 68 println!("\n{:#?}", res);
65 } 69 }
@@ -68,7 +72,7 @@ pub(crate) fn run(verbose: bool, path: &Path, op: Op) -> Result<()> {
68 Ok(()) 72 Ok(())
69} 73}
70 74
71fn do_work<F: Fn(&Analysis) -> T, T>(host: &AnalysisHost, work: F) -> T { 75fn do_work<F: Fn(&Analysis) -> T, T>(host: &mut AnalysisHost, file_id: FileId, work: F) -> T {
72 { 76 {
73 let start = Instant::now(); 77 let start = Instant::now();
74 eprint!("from scratch: "); 78 eprint!("from scratch: ");
@@ -84,7 +88,27 @@ fn do_work<F: Fn(&Analysis) -> T, T>(host: &AnalysisHost, work: F) -> T {
84 { 88 {
85 let start = Instant::now(); 89 let start = Instant::now();
86 eprint!("trivial change: "); 90 eprint!("trivial change: ");
87 host.raw_database().salsa_runtime().next_revision(); 91 host.raw_database().salsa_runtime().synthetic_write(Durability::LOW);
92 work(&host.analysis());
93 eprintln!("{:?}", start.elapsed());
94 }
95 {
96 let start = Instant::now();
97 eprint!("comment change: ");
98 {
99 let mut text = host.analysis().file_text(file_id).unwrap().to_string();
100 text.push_str("\n/* Hello world */\n");
101 let mut change = AnalysisChange::new();
102 change.change_file(file_id, Arc::new(text));
103 host.apply_change(change);
104 }
105 work(&host.analysis());
106 eprintln!("{:?}", start.elapsed());
107 }
108 {
109 let start = Instant::now();
110 eprint!("const change: ");
111 host.raw_database().salsa_runtime().synthetic_write(Durability::HIGH);
88 let res = work(&host.analysis()); 112 let res = work(&host.analysis());
89 eprintln!("{:?}", start.elapsed()); 113 eprintln!("{:?}", start.elapsed());
90 res 114 res
diff --git a/crates/ra_db/Cargo.toml b/crates/ra_db/Cargo.toml
index 7a13c247b..2fac07bc5 100644
--- a/crates/ra_db/Cargo.toml
+++ b/crates/ra_db/Cargo.toml
@@ -5,7 +5,7 @@ version = "0.1.0"
5authors = ["rust-analyzer developers"] 5authors = ["rust-analyzer developers"]
6 6
7[dependencies] 7[dependencies]
8salsa = "0.12.3" 8salsa = "0.13.0"
9relative-path = "0.4.0" 9relative-path = "0.4.0"
10rustc-hash = "1.0" 10rustc-hash = "1.0"
11 11
diff --git a/crates/ra_hir/src/db.rs b/crates/ra_hir/src/db.rs
index 358365176..7b7974f5b 100644
--- a/crates/ra_hir/src/db.rs
+++ b/crates/ra_hir/src/db.rs
@@ -1,6 +1,5 @@
1use std::sync::Arc; 1use std::sync::Arc;
2 2
3use parking_lot::Mutex;
4use ra_db::{salsa, SourceDatabase}; 3use ra_db::{salsa, SourceDatabase};
5use ra_syntax::{ast, Parse, SmolStr, SyntaxNode}; 4use ra_syntax::{ast, Parse, SmolStr, SyntaxNode};
6 5
@@ -147,6 +146,7 @@ pub trait DefDatabase: InternDatabase {
147} 146}
148 147
149#[salsa::query_group(HirDatabaseStorage)] 148#[salsa::query_group(HirDatabaseStorage)]
149#[salsa::requires(salsa::Database)]
150pub trait HirDatabase: DefDatabase + AstDatabase { 150pub trait HirDatabase: DefDatabase + AstDatabase {
151 #[salsa::invoke(ExprScopes::expr_scopes_query)] 151 #[salsa::invoke(ExprScopes::expr_scopes_query)]
152 fn expr_scopes(&self, def: DefWithBody) -> Arc<ExprScopes>; 152 fn expr_scopes(&self, def: DefWithBody) -> Arc<ExprScopes>;
@@ -187,11 +187,10 @@ pub trait HirDatabase: DefDatabase + AstDatabase {
187 /// This provides the Chalk trait solver instance. Because Chalk always 187 /// This provides the Chalk trait solver instance. Because Chalk always
188 /// works from a specific crate, this query is keyed on the crate; and 188 /// works from a specific crate, this query is keyed on the crate; and
189 /// because Chalk does its own internal caching, the solver is wrapped in a 189 /// because Chalk does its own internal caching, the solver is wrapped in a
190 /// Mutex and the query is marked volatile, to make sure the cached state is 190 /// Mutex and the query does an untracked read internally, to make sure the
191 /// thrown away when input facts change. 191 /// cached state is thrown away when input facts change.
192 #[salsa::invoke(crate::ty::traits::trait_solver_query)] 192 #[salsa::invoke(crate::ty::traits::trait_solver_query)]
193 #[salsa::volatile] 193 fn trait_solver(&self, krate: Crate) -> crate::ty::traits::TraitSolver;
194 fn trait_solver(&self, krate: Crate) -> Arc<Mutex<crate::ty::traits::Solver>>;
195 194
196 #[salsa::invoke(crate::ty::traits::chalk::associated_ty_data_query)] 195 #[salsa::invoke(crate::ty::traits::chalk::associated_ty_data_query)]
197 fn associated_ty_data(&self, id: chalk_ir::TypeId) -> Arc<chalk_rust_ir::AssociatedTyDatum>; 196 fn associated_ty_data(&self, id: chalk_ir::TypeId) -> Arc<chalk_rust_ir::AssociatedTyDatum>;
diff --git a/crates/ra_hir/src/lib.rs b/crates/ra_hir/src/lib.rs
index 081974e2b..018fcd096 100644
--- a/crates/ra_hir/src/lib.rs
+++ b/crates/ra_hir/src/lib.rs
@@ -1,3 +1,5 @@
1#![recursion_limit = "512"]
2
1//! HIR (previously known as descriptors) provides a high-level object oriented 3//! HIR (previously known as descriptors) provides a high-level object oriented
2//! access to Rust code. 4//! access to Rust code.
3//! 5//!
diff --git a/crates/ra_hir/src/ty/traits.rs b/crates/ra_hir/src/ty/traits.rs
index fde5d8a47..b634f0b79 100644
--- a/crates/ra_hir/src/ty/traits.rs
+++ b/crates/ra_hir/src/ty/traits.rs
@@ -4,6 +4,7 @@ use std::sync::Arc;
4use chalk_ir::cast::Cast; 4use chalk_ir::cast::Cast;
5use log::debug; 5use log::debug;
6use parking_lot::Mutex; 6use parking_lot::Mutex;
7use ra_db::salsa;
7use ra_prof::profile; 8use ra_prof::profile;
8use rustc_hash::FxHashSet; 9use rustc_hash::FxHashSet;
9 10
@@ -14,7 +15,34 @@ use self::chalk::{from_chalk, ToChalk};
14 15
15pub(crate) mod chalk; 16pub(crate) mod chalk;
16 17
17pub(crate) type Solver = chalk_solve::Solver; 18#[derive(Debug, Clone)]
19pub struct TraitSolver {
20 krate: Crate,
21 inner: Arc<Mutex<chalk_solve::Solver>>,
22}
23
24/// We need eq for salsa
25impl PartialEq for TraitSolver {
26 fn eq(&self, other: &TraitSolver) -> bool {
27 Arc::ptr_eq(&self.inner, &other.inner)
28 }
29}
30
31impl Eq for TraitSolver {}
32
33impl TraitSolver {
34 fn solve(
35 &self,
36 db: &impl HirDatabase,
37 goal: &chalk_ir::UCanonical<chalk_ir::InEnvironment<chalk_ir::Goal>>,
38 ) -> Option<chalk_solve::Solution> {
39 let context = ChalkContext { db, krate: self.krate };
40 debug!("solve goal: {:?}", goal);
41 let solution = self.inner.lock().solve(&context, goal);
42 debug!("solve({:?}) => {:?}", goal, solution);
43 solution
44 }
45}
18 46
19/// This controls the maximum size of types Chalk considers. If we set this too 47/// This controls the maximum size of types Chalk considers. If we set this too
20/// high, we can run into slow edge cases; if we set it too low, Chalk won't 48/// high, we can run into slow edge cases; if we set it too low, Chalk won't
@@ -27,11 +55,15 @@ struct ChalkContext<'a, DB> {
27 krate: Crate, 55 krate: Crate,
28} 56}
29 57
30pub(crate) fn trait_solver_query(_db: &impl HirDatabase, _krate: Crate) -> Arc<Mutex<Solver>> { 58pub(crate) fn trait_solver_query(
59 db: &(impl HirDatabase + salsa::Database),
60 krate: Crate,
61) -> TraitSolver {
62 db.salsa_runtime().report_untracked_read();
31 // krate parameter is just so we cache a unique solver per crate 63 // krate parameter is just so we cache a unique solver per crate
32 let solver_choice = chalk_solve::SolverChoice::SLG { max_size: CHALK_SOLVER_MAX_SIZE }; 64 let solver_choice = chalk_solve::SolverChoice::SLG { max_size: CHALK_SOLVER_MAX_SIZE };
33 debug!("Creating new solver for crate {:?}", _krate); 65 debug!("Creating new solver for crate {:?}", krate);
34 Arc::new(Mutex::new(solver_choice.into_solver())) 66 TraitSolver { krate, inner: Arc::new(Mutex::new(solver_choice.into_solver())) }
35} 67}
36 68
37/// Collects impls for the given trait in the whole dependency tree of `krate`. 69/// Collects impls for the given trait in the whole dependency tree of `krate`.
@@ -54,18 +86,6 @@ pub(crate) fn impls_for_trait_query(
54 impls.into_iter().collect::<Vec<_>>().into() 86 impls.into_iter().collect::<Vec<_>>().into()
55} 87}
56 88
57fn solve(
58 db: &impl HirDatabase,
59 krate: Crate,
60 goal: &chalk_ir::UCanonical<chalk_ir::InEnvironment<chalk_ir::Goal>>,
61) -> Option<chalk_solve::Solution> {
62 let context = ChalkContext { db, krate };
63 let solver = db.trait_solver(krate);
64 let solution = solver.lock().solve(&context, goal);
65 debug!("solve({:?}) => {:?}", goal, solution);
66 solution
67}
68
69/// A set of clauses that we assume to be true. E.g. if we are inside this function: 89/// A set of clauses that we assume to be true. E.g. if we are inside this function:
70/// ```rust 90/// ```rust
71/// fn foo<T: Default>(t: T) {} 91/// fn foo<T: Default>(t: T) {}
@@ -127,7 +147,7 @@ pub(crate) fn trait_solve_query(
127 // We currently don't deal with universes (I think / hope they're not yet 147 // We currently don't deal with universes (I think / hope they're not yet
128 // relevant for our use cases?) 148 // relevant for our use cases?)
129 let u_canonical = chalk_ir::UCanonical { canonical, universes: 1 }; 149 let u_canonical = chalk_ir::UCanonical { canonical, universes: 1 };
130 let solution = solve(db, krate, &u_canonical); 150 let solution = db.trait_solver(krate).solve(db, &u_canonical);
131 solution.map(|solution| solution_from_chalk(db, solution)) 151 solution.map(|solution| solution_from_chalk(db, solution))
132} 152}
133 153
diff --git a/crates/ra_ide_api/src/change.rs b/crates/ra_ide_api/src/change.rs
index 147d2b21d..0234c572d 100644
--- a/crates/ra_ide_api/src/change.rs
+++ b/crates/ra_ide_api/src/change.rs
@@ -1,7 +1,7 @@
1use std::{fmt, sync::Arc, time}; 1use std::{fmt, sync::Arc, time};
2 2
3use ra_db::{ 3use ra_db::{
4 salsa::{Database, SweepStrategy}, 4 salsa::{Database, Durability, SweepStrategy},
5 CrateGraph, FileId, SourceDatabase, SourceRoot, SourceRootId, 5 CrateGraph, FileId, SourceDatabase, SourceRoot, SourceRootId,
6}; 6};
7use ra_prof::{memory_usage, profile, Bytes}; 7use ra_prof::{memory_usage, profile, Bytes};
@@ -155,54 +155,71 @@ impl RootDatabase {
155 log::info!("apply_change {:?}", change); 155 log::info!("apply_change {:?}", change);
156 { 156 {
157 let _p = profile("RootDatabase::apply_change/cancellation"); 157 let _p = profile("RootDatabase::apply_change/cancellation");
158 self.salsa_runtime().next_revision(); 158 self.salsa_runtime().synthetic_write(Durability::LOW);
159 } 159 }
160 if !change.new_roots.is_empty() { 160 if !change.new_roots.is_empty() {
161 let mut local_roots = Vec::clone(&self.local_roots()); 161 let mut local_roots = Vec::clone(&self.local_roots());
162 for (root_id, is_local) in change.new_roots { 162 for (root_id, is_local) in change.new_roots {
163 let root = if is_local { SourceRoot::new() } else { SourceRoot::new_library() }; 163 let root = if is_local { SourceRoot::new() } else { SourceRoot::new_library() };
164 self.set_source_root(root_id, Arc::new(root)); 164 let durability = durability(&root);
165 self.set_source_root_with_durability(root_id, Arc::new(root), durability);
165 if is_local { 166 if is_local {
166 local_roots.push(root_id); 167 local_roots.push(root_id);
167 } 168 }
168 } 169 }
169 self.set_local_roots(Arc::new(local_roots)); 170 self.set_local_roots_with_durability(Arc::new(local_roots), Durability::HIGH);
170 } 171 }
171 172
172 for (root_id, root_change) in change.roots_changed { 173 for (root_id, root_change) in change.roots_changed {
173 self.apply_root_change(root_id, root_change); 174 self.apply_root_change(root_id, root_change);
174 } 175 }
175 for (file_id, text) in change.files_changed { 176 for (file_id, text) in change.files_changed {
176 self.set_file_text(file_id, text) 177 let source_root_id = self.file_source_root(file_id);
178 let source_root = self.source_root(source_root_id);
179 let durability = durability(&source_root);
180 self.set_file_text_with_durability(file_id, text, durability)
177 } 181 }
178 if !change.libraries_added.is_empty() { 182 if !change.libraries_added.is_empty() {
179 let mut libraries = Vec::clone(&self.library_roots()); 183 let mut libraries = Vec::clone(&self.library_roots());
180 for library in change.libraries_added { 184 for library in change.libraries_added {
181 libraries.push(library.root_id); 185 libraries.push(library.root_id);
182 self.set_source_root(library.root_id, Default::default()); 186 self.set_source_root_with_durability(
183 self.set_constant_library_symbols(library.root_id, Arc::new(library.symbol_index)); 187 library.root_id,
188 Default::default(),
189 Durability::HIGH,
190 );
191 self.set_library_symbols_with_durability(
192 library.root_id,
193 Arc::new(library.symbol_index),
194 Durability::HIGH,
195 );
184 self.apply_root_change(library.root_id, library.root_change); 196 self.apply_root_change(library.root_id, library.root_change);
185 } 197 }
186 self.set_library_roots(Arc::new(libraries)); 198 self.set_library_roots_with_durability(Arc::new(libraries), Durability::HIGH);
187 } 199 }
188 if let Some(crate_graph) = change.crate_graph { 200 if let Some(crate_graph) = change.crate_graph {
189 self.set_crate_graph(Arc::new(crate_graph)) 201 self.set_crate_graph_with_durability(Arc::new(crate_graph), Durability::HIGH)
190 } 202 }
191 } 203 }
192 204
193 fn apply_root_change(&mut self, root_id: SourceRootId, root_change: RootChange) { 205 fn apply_root_change(&mut self, root_id: SourceRootId, root_change: RootChange) {
194 let mut source_root = SourceRoot::clone(&self.source_root(root_id)); 206 let mut source_root = SourceRoot::clone(&self.source_root(root_id));
207 let durability = durability(&source_root);
195 for add_file in root_change.added { 208 for add_file in root_change.added {
196 self.set_file_text(add_file.file_id, add_file.text); 209 self.set_file_text_with_durability(add_file.file_id, add_file.text, durability);
197 self.set_file_relative_path(add_file.file_id, add_file.path.clone()); 210 self.set_file_relative_path_with_durability(
198 self.set_file_source_root(add_file.file_id, root_id); 211 add_file.file_id,
212 add_file.path.clone(),
213 durability,
214 );
215 self.set_file_source_root_with_durability(add_file.file_id, root_id, durability);
199 source_root.files.insert(add_file.path, add_file.file_id); 216 source_root.files.insert(add_file.path, add_file.file_id);
200 } 217 }
201 for remove_file in root_change.removed { 218 for remove_file in root_change.removed {
202 self.set_file_text(remove_file.file_id, Default::default()); 219 self.set_file_text_with_durability(remove_file.file_id, Default::default(), durability);
203 source_root.files.remove(&remove_file.path); 220 source_root.files.remove(&remove_file.path);
204 } 221 }
205 self.set_source_root(root_id, Arc::new(source_root)); 222 self.set_source_root_with_durability(root_id, Arc::new(source_root), durability);
206 } 223 }
207 224
208 pub(crate) fn maybe_collect_garbage(&mut self) { 225 pub(crate) fn maybe_collect_garbage(&mut self) {
@@ -308,3 +325,11 @@ impl RootDatabase {
308 acc 325 acc
309 } 326 }
310} 327}
328
329fn durability(source_root: &SourceRoot) -> Durability {
330 if source_root.is_library {
331 Durability::HIGH
332 } else {
333 Durability::LOW
334 }
335}
diff --git a/crates/ra_ide_api/src/db.rs b/crates/ra_ide_api/src/db.rs
index 44216b045..fc8252e4b 100644
--- a/crates/ra_ide_api/src/db.rs
+++ b/crates/ra_ide_api/src/db.rs
@@ -1,7 +1,7 @@
1use std::{sync::Arc, time}; 1use std::{sync::Arc, time};
2 2
3use ra_db::{ 3use ra_db::{
4 salsa::{self, Database}, 4 salsa::{self, Database, Durability},
5 Canceled, CheckCanceled, FileId, SourceDatabase, 5 Canceled, CheckCanceled, FileId, SourceDatabase,
6}; 6};
7 7
@@ -57,9 +57,9 @@ impl RootDatabase {
57 last_gc: time::Instant::now(), 57 last_gc: time::Instant::now(),
58 last_gc_check: time::Instant::now(), 58 last_gc_check: time::Instant::now(),
59 }; 59 };
60 db.set_crate_graph(Default::default()); 60 db.set_crate_graph_with_durability(Default::default(), Durability::HIGH);
61 db.set_local_roots(Default::default()); 61 db.set_local_roots_with_durability(Default::default(), Durability::HIGH);
62 db.set_library_roots(Default::default()); 62 db.set_library_roots_with_durability(Default::default(), Durability::HIGH);
63 let lru_capacity = lru_capacity.unwrap_or(ra_db::DEFAULT_LRU_CAP); 63 let lru_capacity = lru_capacity.unwrap_or(ra_db::DEFAULT_LRU_CAP);
64 db.query_mut(ra_db::ParseQuery).set_lru_capacity(lru_capacity); 64 db.query_mut(ra_db::ParseQuery).set_lru_capacity(lru_capacity);
65 db.query_mut(hir::db::ParseMacroQuery).set_lru_capacity(lru_capacity); 65 db.query_mut(hir::db::ParseMacroQuery).set_lru_capacity(lru_capacity);
diff --git a/crates/ra_ide_api/src/lib.rs b/crates/ra_ide_api/src/lib.rs
index edb646c11..fa4ae4379 100644
--- a/crates/ra_ide_api/src/lib.rs
+++ b/crates/ra_ide_api/src/lib.rs
@@ -281,6 +281,9 @@ impl AnalysisHost {
281 pub fn raw_database(&self) -> &(impl hir::db::HirDatabase + salsa::Database) { 281 pub fn raw_database(&self) -> &(impl hir::db::HirDatabase + salsa::Database) {
282 &self.db 282 &self.db
283 } 283 }
284 pub fn raw_database_mut(&mut self) -> &mut (impl hir::db::HirDatabase + salsa::Database) {
285 &mut self.db
286 }
284} 287}
285 288
286/// Analysis is a snapshot of a world state at a moment in time. It is the main 289/// Analysis is a snapshot of a world state at a moment in time. It is the main
diff --git a/crates/ra_lsp_server/src/lib.rs b/crates/ra_lsp_server/src/lib.rs
index 795f86383..ca388e472 100644
--- a/crates/ra_lsp_server/src/lib.rs
+++ b/crates/ra_lsp_server/src/lib.rs
@@ -1,3 +1,4 @@
1#![recursion_limit = "512"]
1mod caps; 2mod caps;
2mod cargo_target_spec; 3mod cargo_target_spec;
3mod conv; 4mod conv;
diff --git a/crates/ra_parser/src/grammar/expressions.rs b/crates/ra_parser/src/grammar/expressions.rs
index 9fd3a235d..0495f34ae 100644
--- a/crates/ra_parser/src/grammar/expressions.rs
+++ b/crates/ra_parser/src/grammar/expressions.rs
@@ -359,11 +359,14 @@ fn lhs(
359 return Some((m.complete(p, RANGE_EXPR), BlockLike::NotBlock)); 359 return Some((m.complete(p, RANGE_EXPR), BlockLike::NotBlock));
360 } 360 }
361 _ => { 361 _ => {
362 // test expression_after_block
363 // fn foo() {
364 // let mut p = F{x: 5};
365 // {p}.x = 10;
366 // }
367 //
362 let (lhs, blocklike) = atom::atom_expr(p, r)?; 368 let (lhs, blocklike) = atom::atom_expr(p, r)?;
363 return Some(( 369 return Some(postfix_expr(p, lhs, blocklike, !(r.prefer_stmt && blocklike.is_block())));
364 postfix_expr(p, lhs, !(r.prefer_stmt && blocklike.is_block())),
365 blocklike,
366 ));
367 } 370 }
368 }; 371 };
369 expr_bp(p, r, 255, dollar_lvl); 372 expr_bp(p, r, 255, dollar_lvl);
@@ -376,8 +379,9 @@ fn postfix_expr(
376 // Calls are disallowed if the type is a block and we prefer statements because the call cannot be disambiguated from a tuple 379 // Calls are disallowed if the type is a block and we prefer statements because the call cannot be disambiguated from a tuple
377 // E.g. `while true {break}();` is parsed as 380 // E.g. `while true {break}();` is parsed as
378 // `while true {break}; ();` 381 // `while true {break}; ();`
382 mut block_like: BlockLike,
379 mut allow_calls: bool, 383 mut allow_calls: bool,
380) -> CompletedMarker { 384) -> (CompletedMarker, BlockLike) {
381 loop { 385 loop {
382 lhs = match p.current() { 386 lhs = match p.current() {
383 // test stmt_postfix_expr_ambiguity 387 // test stmt_postfix_expr_ambiguity
@@ -417,9 +421,10 @@ fn postfix_expr(
417 T![as] => cast_expr(p, lhs), 421 T![as] => cast_expr(p, lhs),
418 _ => break, 422 _ => break,
419 }; 423 };
420 allow_calls = true 424 allow_calls = true;
425 block_like = BlockLike::NotBlock;
421 } 426 }
422 lhs 427 (lhs, block_like)
423} 428}
424 429
425// test call_expr 430// test call_expr
@@ -549,7 +554,7 @@ fn arg_list(p: &mut Parser) {
549// let _ = format!(); 554// let _ = format!();
550// } 555// }
551fn path_expr(p: &mut Parser, r: Restrictions) -> (CompletedMarker, BlockLike) { 556fn path_expr(p: &mut Parser, r: Restrictions) -> (CompletedMarker, BlockLike) {
552 assert!(paths::is_path_start(p) || p.at(T![<])); 557 assert!(paths::is_path_start(p));
553 let m = p.start(); 558 let m = p.start();
554 paths::expr_path(p); 559 paths::expr_path(p);
555 match p.current() { 560 match p.current() {
diff --git a/crates/ra_parser/src/grammar/expressions/atom.rs b/crates/ra_parser/src/grammar/expressions/atom.rs
index d98953a7e..bc942ae01 100644
--- a/crates/ra_parser/src/grammar/expressions/atom.rs
+++ b/crates/ra_parser/src/grammar/expressions/atom.rs
@@ -62,7 +62,7 @@ pub(super) fn atom_expr(p: &mut Parser, r: Restrictions) -> Option<(CompletedMar
62 if let Some(m) = literal(p) { 62 if let Some(m) = literal(p) {
63 return Some((m, BlockLike::NotBlock)); 63 return Some((m, BlockLike::NotBlock));
64 } 64 }
65 if paths::is_path_start(p) || p.at(T![<]) { 65 if paths::is_path_start(p) {
66 return Some(path_expr(p, r)); 66 return Some(path_expr(p, r));
67 } 67 }
68 let la = p.nth(1); 68 let la = p.nth(1);
@@ -110,7 +110,19 @@ pub(super) fn atom_expr(p: &mut Parser, r: Restrictions) -> Option<(CompletedMar
110 p.bump(); 110 p.bump();
111 block_expr(p, Some(m)) 111 block_expr(p, Some(m))
112 } 112 }
113 T!['{'] => block_expr(p, None), 113 T!['{'] => {
114 // test for_range_from
115 // fn foo() {
116 // for x in 0 .. {
117 // break;
118 // }
119 // }
120 if r.forbid_structs {
121 return None;
122 } else {
123 block_expr(p, None)
124 }
125 }
114 T![return] => return_expr(p), 126 T![return] => return_expr(p),
115 T![continue] => continue_expr(p), 127 T![continue] => continue_expr(p),
116 T![break] => break_expr(p, r), 128 T![break] => break_expr(p, r),
diff --git a/crates/ra_parser/src/grammar/items.rs b/crates/ra_parser/src/grammar/items.rs
index 543af7c4b..b7da44758 100644
--- a/crates/ra_parser/src/grammar/items.rs
+++ b/crates/ra_parser/src/grammar/items.rs
@@ -49,7 +49,7 @@ pub(super) fn item_or_macro(p: &mut Parser, stop_on_r_curly: bool, flavor: ItemF
49 } 49 }
50 Err(m) => m, 50 Err(m) => m,
51 }; 51 };
52 if paths::is_path_start(p) { 52 if paths::is_use_path_start(p) {
53 match macro_call(p) { 53 match macro_call(p) {
54 BlockLike::Block => (), 54 BlockLike::Block => (),
55 BlockLike::NotBlock => { 55 BlockLike::NotBlock => {
@@ -378,7 +378,7 @@ pub(crate) fn mod_item_list(p: &mut Parser) {
378} 378}
379 379
380fn macro_call(p: &mut Parser) -> BlockLike { 380fn macro_call(p: &mut Parser) -> BlockLike {
381 assert!(paths::is_path_start(p)); 381 assert!(paths::is_use_path_start(p));
382 paths::use_path(p); 382 paths::use_path(p);
383 macro_call_after_excl(p) 383 macro_call_after_excl(p)
384} 384}
diff --git a/crates/ra_parser/src/grammar/items/use_item.rs b/crates/ra_parser/src/grammar/items/use_item.rs
index c3a0b4410..c0c7d0ec6 100644
--- a/crates/ra_parser/src/grammar/items/use_item.rs
+++ b/crates/ra_parser/src/grammar/items/use_item.rs
@@ -65,7 +65,7 @@ fn use_tree(p: &mut Parser) {
65 // use crate::Item; 65 // use crate::Item;
66 // use self::some::Struct; 66 // use self::some::Struct;
67 // use crate_name::some_item; 67 // use crate_name::some_item;
68 _ if paths::is_path_start(p) => { 68 _ if paths::is_use_path_start(p) => {
69 paths::use_path(p); 69 paths::use_path(p);
70 match p.current() { 70 match p.current() {
71 T![as] => { 71 T![as] => {
diff --git a/crates/ra_parser/src/grammar/paths.rs b/crates/ra_parser/src/grammar/paths.rs
index 3537b0da1..07eb53b0c 100644
--- a/crates/ra_parser/src/grammar/paths.rs
+++ b/crates/ra_parser/src/grammar/paths.rs
@@ -4,6 +4,10 @@ pub(super) const PATH_FIRST: TokenSet =
4 token_set![IDENT, SELF_KW, SUPER_KW, CRATE_KW, COLONCOLON, L_ANGLE]; 4 token_set![IDENT, SELF_KW, SUPER_KW, CRATE_KW, COLONCOLON, L_ANGLE];
5 5
6pub(super) fn is_path_start(p: &Parser) -> bool { 6pub(super) fn is_path_start(p: &Parser) -> bool {
7 is_use_path_start(p) || p.at(T![<])
8}
9
10pub(super) fn is_use_path_start(p: &Parser) -> bool {
7 match p.current() { 11 match p.current() {
8 IDENT | T![self] | T![super] | T![crate] | T![::] => true, 12 IDENT | T![self] | T![super] | T![crate] | T![::] => true,
9 _ => false, 13 _ => false,
@@ -58,7 +62,7 @@ fn path_segment(p: &mut Parser, mode: Mode, first: bool) {
58 if first && p.eat(T![<]) { 62 if first && p.eat(T![<]) {
59 types::type_(p); 63 types::type_(p);
60 if p.eat(T![as]) { 64 if p.eat(T![as]) {
61 if is_path_start(p) { 65 if is_use_path_start(p) {
62 types::path_type(p); 66 types::path_type(p);
63 } else { 67 } else {
64 p.error("expected a trait"); 68 p.error("expected a trait");
diff --git a/crates/ra_parser/src/grammar/patterns.rs b/crates/ra_parser/src/grammar/patterns.rs
index 46034942a..df6000707 100644
--- a/crates/ra_parser/src/grammar/patterns.rs
+++ b/crates/ra_parser/src/grammar/patterns.rs
@@ -65,7 +65,7 @@ fn atom_pat(p: &mut Parser, recovery_set: TokenSet) -> Option<CompletedMarker> {
65 { 65 {
66 return Some(bind_pat(p, true)); 66 return Some(bind_pat(p, true));
67 } 67 }
68 if paths::is_path_start(p) { 68 if paths::is_use_path_start(p) {
69 return Some(path_pat(p)); 69 return Some(path_pat(p));
70 } 70 }
71 71
@@ -118,7 +118,7 @@ fn literal_pat(p: &mut Parser) -> CompletedMarker {
118// let Bar(..) = (); 118// let Bar(..) = ();
119// } 119// }
120fn path_pat(p: &mut Parser) -> CompletedMarker { 120fn path_pat(p: &mut Parser) -> CompletedMarker {
121 assert!(paths::is_path_start(p)); 121 assert!(paths::is_use_path_start(p));
122 let m = p.start(); 122 let m = p.start();
123 paths::expr_path(p); 123 paths::expr_path(p);
124 let kind = match p.current() { 124 let kind = match p.current() {
diff --git a/crates/ra_parser/src/grammar/type_params.rs b/crates/ra_parser/src/grammar/type_params.rs
index ef59b59d3..d739df727 100644
--- a/crates/ra_parser/src/grammar/type_params.rs
+++ b/crates/ra_parser/src/grammar/type_params.rs
@@ -101,7 +101,7 @@ fn type_bound(p: &mut Parser) -> bool {
101 match p.current() { 101 match p.current() {
102 LIFETIME => p.bump(), 102 LIFETIME => p.bump(),
103 T![for] => types::for_type(p), 103 T![for] => types::for_type(p),
104 _ if paths::is_path_start(p) => types::path_type_(p, false), 104 _ if paths::is_use_path_start(p) => types::path_type_(p, false),
105 _ => { 105 _ => {
106 m.abandon(p); 106 m.abandon(p);
107 return false; 107 return false;
diff --git a/crates/ra_parser/src/grammar/types.rs b/crates/ra_parser/src/grammar/types.rs
index c0b722569..29d173305 100644
--- a/crates/ra_parser/src/grammar/types.rs
+++ b/crates/ra_parser/src/grammar/types.rs
@@ -29,7 +29,7 @@ fn type_with_bounds_cond(p: &mut Parser, allow_bounds: bool) {
29 T![dyn ] => dyn_trait_type(p), 29 T![dyn ] => dyn_trait_type(p),
30 // Some path types are not allowed to have bounds (no plus) 30 // Some path types are not allowed to have bounds (no plus)
31 T![<] => path_type_(p, allow_bounds), 31 T![<] => path_type_(p, allow_bounds),
32 _ if paths::is_path_start(p) => path_or_macro_type_(p, allow_bounds), 32 _ if paths::is_use_path_start(p) => path_or_macro_type_(p, allow_bounds),
33 _ => { 33 _ => {
34 p.err_recover("expected type", TYPE_RECOVERY_SET); 34 p.err_recover("expected type", TYPE_RECOVERY_SET);
35 } 35 }
@@ -205,6 +205,7 @@ pub(super) fn for_binder(p: &mut Parser) {
205// type A = for<'a> fn() -> (); 205// type A = for<'a> fn() -> ();
206// fn foo<T>(_t: &T) where for<'a> &'a T: Iterator {} 206// fn foo<T>(_t: &T) where for<'a> &'a T: Iterator {}
207// fn bar<T>(_t: &T) where for<'a> &'a mut T: Iterator {} 207// fn bar<T>(_t: &T) where for<'a> &'a mut T: Iterator {}
208// fn baz<T>(_t: &T) where for<'a> <&'a T as Baz>::Foo: Iterator {}
208pub(super) fn for_type(p: &mut Parser) { 209pub(super) fn for_type(p: &mut Parser) {
209 assert!(p.at(T![for])); 210 assert!(p.at(T![for]));
210 let m = p.start(); 211 let m = p.start();
@@ -251,7 +252,7 @@ pub(super) fn path_type(p: &mut Parser) {
251// type A = foo!(); 252// type A = foo!();
252// type B = crate::foo!(); 253// type B = crate::foo!();
253fn path_or_macro_type_(p: &mut Parser, allow_bounds: bool) { 254fn path_or_macro_type_(p: &mut Parser, allow_bounds: bool) {
254 assert!(paths::is_path_start(p) || p.at(T![<])); 255 assert!(paths::is_path_start(p));
255 let m = p.start(); 256 let m = p.start();
256 paths::type_path(p); 257 paths::type_path(p);
257 258
@@ -270,7 +271,7 @@ fn path_or_macro_type_(p: &mut Parser, allow_bounds: bool) {
270} 271}
271 272
272pub(super) fn path_type_(p: &mut Parser, allow_bounds: bool) { 273pub(super) fn path_type_(p: &mut Parser, allow_bounds: bool) {
273 assert!(paths::is_path_start(p) || p.at(T![<])); 274 assert!(paths::is_path_start(p));
274 let m = p.start(); 275 let m = p.start();
275 paths::type_path(p); 276 paths::type_path(p);
276 277
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.rs b/crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.rs
index 7cde5c532..d6774d438 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.rs
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.rs
@@ -1,3 +1,4 @@
1type A = for<'a> fn() -> (); 1type A = for<'a> fn() -> ();
2fn foo<T>(_t: &T) where for<'a> &'a T: Iterator {} 2fn foo<T>(_t: &T) where for<'a> &'a T: Iterator {}
3fn bar<T>(_t: &T) where for<'a> &'a mut T: Iterator {} 3fn bar<T>(_t: &T) where for<'a> &'a mut T: Iterator {}
4fn baz<T>(_t: &T) where for<'a> <&'a T as Baz>::Foo: Iterator {}
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.txt b/crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.txt
index 599cf9452..c12ce4ddb 100644
--- a/crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.txt
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.txt
@@ -1,4 +1,4 @@
1SOURCE_FILE@[0; 135) 1SOURCE_FILE@[0; 200)
2 TYPE_ALIAS_DEF@[0; 28) 2 TYPE_ALIAS_DEF@[0; 28)
3 TYPE_KW@[0; 4) "type" 3 TYPE_KW@[0; 4) "type"
4 WHITESPACE@[4; 5) " " 4 WHITESPACE@[4; 5) " "
@@ -157,3 +157,84 @@ SOURCE_FILE@[0; 135)
157 L_CURLY@[132; 133) "{" 157 L_CURLY@[132; 133) "{"
158 R_CURLY@[133; 134) "}" 158 R_CURLY@[133; 134) "}"
159 WHITESPACE@[134; 135) "\n" 159 WHITESPACE@[134; 135) "\n"
160 FN_DEF@[135; 199)
161 FN_KW@[135; 137) "fn"
162 WHITESPACE@[137; 138) " "
163 NAME@[138; 141)
164 IDENT@[138; 141) "baz"
165 TYPE_PARAM_LIST@[141; 144)
166 L_ANGLE@[141; 142) "<"
167 TYPE_PARAM@[142; 143)
168 NAME@[142; 143)
169 IDENT@[142; 143) "T"
170 R_ANGLE@[143; 144) ">"
171 PARAM_LIST@[144; 152)
172 L_PAREN@[144; 145) "("
173 PARAM@[145; 151)
174 BIND_PAT@[145; 147)
175 NAME@[145; 147)
176 IDENT@[145; 147) "_t"
177 COLON@[147; 148) ":"
178 WHITESPACE@[148; 149) " "
179 REFERENCE_TYPE@[149; 151)
180 AMP@[149; 150) "&"
181 PATH_TYPE@[150; 151)
182 PATH@[150; 151)
183 PATH_SEGMENT@[150; 151)
184 NAME_REF@[150; 151)
185 IDENT@[150; 151) "T"
186 R_PAREN@[151; 152) ")"
187 WHITESPACE@[152; 153) " "
188 WHERE_CLAUSE@[153; 196)
189 WHERE_KW@[153; 158) "where"
190 WHITESPACE@[158; 159) " "
191 WHERE_PRED@[159; 196)
192 FOR_TYPE@[159; 186)
193 FOR_KW@[159; 162) "for"
194 TYPE_PARAM_LIST@[162; 166)
195 L_ANGLE@[162; 163) "<"
196 LIFETIME_PARAM@[163; 165)
197 LIFETIME@[163; 165) "\'a"
198 R_ANGLE@[165; 166) ">"
199 WHITESPACE@[166; 167) " "
200 PATH_TYPE@[167; 186)
201 PATH@[167; 186)
202 PATH@[167; 181)
203 PATH_SEGMENT@[167; 181)
204 L_ANGLE@[167; 168) "<"
205 REFERENCE_TYPE@[168; 173)
206 AMP@[168; 169) "&"
207 LIFETIME@[169; 171) "\'a"
208 WHITESPACE@[171; 172) " "
209 PATH_TYPE@[172; 173)
210 PATH@[172; 173)
211 PATH_SEGMENT@[172; 173)
212 NAME_REF@[172; 173)
213 IDENT@[172; 173) "T"
214 WHITESPACE@[173; 174) " "
215 AS_KW@[174; 176) "as"
216 WHITESPACE@[176; 177) " "
217 PATH_TYPE@[177; 180)
218 PATH@[177; 180)
219 PATH_SEGMENT@[177; 180)
220 NAME_REF@[177; 180)
221 IDENT@[177; 180) "Baz"
222 R_ANGLE@[180; 181) ">"
223 COLONCOLON@[181; 183) "::"
224 PATH_SEGMENT@[183; 186)
225 NAME_REF@[183; 186)
226 IDENT@[183; 186) "Foo"
227 COLON@[186; 187) ":"
228 WHITESPACE@[187; 188) " "
229 TYPE_BOUND_LIST@[188; 196)
230 TYPE_BOUND@[188; 196)
231 PATH_TYPE@[188; 196)
232 PATH@[188; 196)
233 PATH_SEGMENT@[188; 196)
234 NAME_REF@[188; 196)
235 IDENT@[188; 196) "Iterator"
236 WHITESPACE@[196; 197) " "
237 BLOCK@[197; 199)
238 L_CURLY@[197; 198) "{"
239 R_CURLY@[198; 199) "}"
240 WHITESPACE@[199; 200) "\n"
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0138_expression_after_block.rs b/crates/ra_syntax/test_data/parser/inline/ok/0138_expression_after_block.rs
new file mode 100644
index 000000000..76007e3ee
--- /dev/null
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0138_expression_after_block.rs
@@ -0,0 +1,4 @@
1fn foo() {
2 let mut p = F{x: 5};
3 {p}.x = 10;
4}
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0138_expression_after_block.txt b/crates/ra_syntax/test_data/parser/inline/ok/0138_expression_after_block.txt
new file mode 100644
index 000000000..08128f365
--- /dev/null
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0138_expression_after_block.txt
@@ -0,0 +1,65 @@
1SOURCE_FILE@[0; 52)
2 FN_DEF@[0; 51)
3 FN_KW@[0; 2) "fn"
4 WHITESPACE@[2; 3) " "
5 NAME@[3; 6)
6 IDENT@[3; 6) "foo"
7 PARAM_LIST@[6; 8)
8 L_PAREN@[6; 7) "("
9 R_PAREN@[7; 8) ")"
10 WHITESPACE@[8; 9) " "
11 BLOCK@[9; 51)
12 L_CURLY@[9; 10) "{"
13 WHITESPACE@[10; 14) "\n "
14 LET_STMT@[14; 34)
15 LET_KW@[14; 17) "let"
16 WHITESPACE@[17; 18) " "
17 BIND_PAT@[18; 23)
18 MUT_KW@[18; 21) "mut"
19 WHITESPACE@[21; 22) " "
20 NAME@[22; 23)
21 IDENT@[22; 23) "p"
22 WHITESPACE@[23; 24) " "
23 EQ@[24; 25) "="
24 WHITESPACE@[25; 26) " "
25 STRUCT_LIT@[26; 33)
26 PATH@[26; 27)
27 PATH_SEGMENT@[26; 27)
28 NAME_REF@[26; 27)
29 IDENT@[26; 27) "F"
30 NAMED_FIELD_LIST@[27; 33)
31 L_CURLY@[27; 28) "{"
32 NAMED_FIELD@[28; 32)
33 NAME_REF@[28; 29)
34 IDENT@[28; 29) "x"
35 COLON@[29; 30) ":"
36 WHITESPACE@[30; 31) " "
37 LITERAL@[31; 32)
38 INT_NUMBER@[31; 32) "5"
39 R_CURLY@[32; 33) "}"
40 SEMI@[33; 34) ";"
41 WHITESPACE@[34; 38) "\n "
42 EXPR_STMT@[38; 49)
43 BIN_EXPR@[38; 48)
44 FIELD_EXPR@[38; 43)
45 BLOCK_EXPR@[38; 41)
46 BLOCK@[38; 41)
47 L_CURLY@[38; 39) "{"
48 PATH_EXPR@[39; 40)
49 PATH@[39; 40)
50 PATH_SEGMENT@[39; 40)
51 NAME_REF@[39; 40)
52 IDENT@[39; 40) "p"
53 R_CURLY@[40; 41) "}"
54 DOT@[41; 42) "."
55 NAME_REF@[42; 43)
56 IDENT@[42; 43) "x"
57 WHITESPACE@[43; 44) " "
58 EQ@[44; 45) "="
59 WHITESPACE@[45; 46) " "
60 LITERAL@[46; 48)
61 INT_NUMBER@[46; 48) "10"
62 SEMI@[48; 49) ";"
63 WHITESPACE@[49; 50) "\n"
64 R_CURLY@[50; 51) "}"
65 WHITESPACE@[51; 52) "\n"
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.rs b/crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.rs
new file mode 100644
index 000000000..af0d40a7a
--- /dev/null
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.rs
@@ -0,0 +1,5 @@
1fn foo() {
2 for x in 0 .. {
3 break;
4 }
5}
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.txt b/crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.txt
new file mode 100644
index 000000000..9e5836233
--- /dev/null
+++ b/crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.txt
@@ -0,0 +1,40 @@
1SOURCE_FILE@[0; 51)
2 FN_DEF@[0; 50)
3 FN_KW@[0; 2) "fn"
4 WHITESPACE@[2; 3) " "
5 NAME@[3; 6)
6 IDENT@[3; 6) "foo"
7 PARAM_LIST@[6; 8)
8 L_PAREN@[6; 7) "("
9 R_PAREN@[7; 8) ")"
10 WHITESPACE@[8; 9) " "
11 BLOCK@[9; 50)
12 L_CURLY@[9; 10) "{"
13 WHITESPACE@[10; 14) "\n "
14 FOR_EXPR@[14; 48)
15 FOR_KW@[14; 17) "for"
16 WHITESPACE@[17; 18) " "
17 BIND_PAT@[18; 19)
18 NAME@[18; 19)
19 IDENT@[18; 19) "x"
20 WHITESPACE@[19; 20) " "
21 IN_KW@[20; 22) "in"
22 WHITESPACE@[22; 23) " "
23 RANGE_EXPR@[23; 27)
24 LITERAL@[23; 24)
25 INT_NUMBER@[23; 24) "0"
26 WHITESPACE@[24; 25) " "
27 DOTDOT@[25; 27) ".."
28 WHITESPACE@[27; 28) " "
29 BLOCK@[28; 48)
30 L_CURLY@[28; 29) "{"
31 WHITESPACE@[29; 37) "\n "
32 EXPR_STMT@[37; 43)
33 BREAK_EXPR@[37; 42)
34 BREAK_KW@[37; 42) "break"
35 SEMI@[42; 43) ";"
36 WHITESPACE@[43; 47) "\n "
37 R_CURLY@[47; 48) "}"
38 WHITESPACE@[48; 49) "\n"
39 R_CURLY@[49; 50) "}"
40 WHITESPACE@[50; 51) "\n"
diff --git a/crates/ra_syntax/test_data/parser/ok/0052_for_range_block.rs b/crates/ra_syntax/test_data/parser/ok/0052_for_range_block.rs
new file mode 100644
index 000000000..b51b19630
--- /dev/null
+++ b/crates/ra_syntax/test_data/parser/ok/0052_for_range_block.rs
@@ -0,0 +1,5 @@
1fn foo() {
2 for _x in 0 .. (0 .. {1 + 2}).sum::<u32>() {
3 break;
4 }
5}
diff --git a/crates/ra_syntax/test_data/parser/ok/0052_for_range_block.txt b/crates/ra_syntax/test_data/parser/ok/0052_for_range_block.txt
new file mode 100644
index 000000000..858f042c6
--- /dev/null
+++ b/crates/ra_syntax/test_data/parser/ok/0052_for_range_block.txt
@@ -0,0 +1,79 @@
1SOURCE_FILE@[0; 80)
2 FN_DEF@[0; 79)
3 FN_KW@[0; 2) "fn"
4 WHITESPACE@[2; 3) " "
5 NAME@[3; 6)
6 IDENT@[3; 6) "foo"
7 PARAM_LIST@[6; 8)
8 L_PAREN@[6; 7) "("
9 R_PAREN@[7; 8) ")"
10 WHITESPACE@[8; 9) " "
11 BLOCK@[9; 79)
12 L_CURLY@[9; 10) "{"
13 WHITESPACE@[10; 14) "\n "
14 FOR_EXPR@[14; 77)
15 FOR_KW@[14; 17) "for"
16 WHITESPACE@[17; 18) " "
17 BIND_PAT@[18; 20)
18 NAME@[18; 20)
19 IDENT@[18; 20) "_x"
20 WHITESPACE@[20; 21) " "
21 IN_KW@[21; 23) "in"
22 WHITESPACE@[23; 24) " "
23 RANGE_EXPR@[24; 56)
24 LITERAL@[24; 25)
25 INT_NUMBER@[24; 25) "0"
26 WHITESPACE@[25; 26) " "
27 DOTDOT@[26; 28) ".."
28 WHITESPACE@[28; 29) " "
29 METHOD_CALL_EXPR@[29; 56)
30 PAREN_EXPR@[29; 43)
31 L_PAREN@[29; 30) "("
32 RANGE_EXPR@[30; 42)
33 LITERAL@[30; 31)
34 INT_NUMBER@[30; 31) "0"
35 WHITESPACE@[31; 32) " "
36 DOTDOT@[32; 34) ".."
37 WHITESPACE@[34; 35) " "
38 BLOCK_EXPR@[35; 42)
39 BLOCK@[35; 42)
40 L_CURLY@[35; 36) "{"
41 BIN_EXPR@[36; 41)
42 LITERAL@[36; 37)
43 INT_NUMBER@[36; 37) "1"
44 WHITESPACE@[37; 38) " "
45 PLUS@[38; 39) "+"
46 WHITESPACE@[39; 40) " "
47 LITERAL@[40; 41)
48 INT_NUMBER@[40; 41) "2"
49 R_CURLY@[41; 42) "}"
50 R_PAREN@[42; 43) ")"
51 DOT@[43; 44) "."
52 NAME_REF@[44; 47)
53 IDENT@[44; 47) "sum"
54 TYPE_ARG_LIST@[47; 54)
55 COLONCOLON@[47; 49) "::"
56 L_ANGLE@[49; 50) "<"
57 TYPE_ARG@[50; 53)
58 PATH_TYPE@[50; 53)
59 PATH@[50; 53)
60 PATH_SEGMENT@[50; 53)
61 NAME_REF@[50; 53)
62 IDENT@[50; 53) "u32"
63 R_ANGLE@[53; 54) ">"
64 ARG_LIST@[54; 56)
65 L_PAREN@[54; 55) "("
66 R_PAREN@[55; 56) ")"
67 WHITESPACE@[56; 57) " "
68 BLOCK@[57; 77)
69 L_CURLY@[57; 58) "{"
70 WHITESPACE@[58; 66) "\n "
71 EXPR_STMT@[66; 72)
72 BREAK_EXPR@[66; 71)
73 BREAK_KW@[66; 71) "break"
74 SEMI@[71; 72) ";"
75 WHITESPACE@[72; 76) "\n "
76 R_CURLY@[76; 77) "}"
77 WHITESPACE@[77; 78) "\n"
78 R_CURLY@[78; 79) "}"
79 WHITESPACE@[79; 80) "\n"