diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2019-12-06 20:28:28 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2019-12-06 20:28:28 +0000 |
commit | f18b7e18c479144325ec150be00837aae3329ae2 (patch) | |
tree | 2c8fbda35c5d9f43b70fe3c6e91ce3e4a8bb3226 /Cargo.lock | |
parent | d3702c02cdff158f05d2af1bd7106cca8a3e4ba9 (diff) | |
parent | 8c86963d47953045f2f33ee6620d305a6589641e (diff) |
Merge #2484
2484: DynMap r=matklad a=matklad
Implement a `DynMap` a semi-dynamic, semi-static map, which helps to thread heterogeneously typed info in a uniform way. Totally inspired by https://github.com/JetBrains/kotlin/blob/df3bee30384787d8951ea548a4257c2cb52a16a3/compiler/frontend/src/org/jetbrains/kotlin/resolve/BindingContext.java.
@flodiebold wdyt? Seems like a potentially useful pattern for various source-map-like things.
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock index 0e7594f80..a95f9139f 100644 --- a/Cargo.lock +++ b/Cargo.lock | |||
@@ -14,6 +14,11 @@ version = "1.0.25" | |||
14 | source = "registry+https://github.com/rust-lang/crates.io-index" | 14 | source = "registry+https://github.com/rust-lang/crates.io-index" |
15 | 15 | ||
16 | [[package]] | 16 | [[package]] |
17 | name = "anymap" | ||
18 | version = "0.12.1" | ||
19 | source = "registry+https://github.com/rust-lang/crates.io-index" | ||
20 | |||
21 | [[package]] | ||
17 | name = "arrayvec" | 22 | name = "arrayvec" |
18 | version = "0.5.1" | 23 | version = "0.5.1" |
19 | source = "registry+https://github.com/rust-lang/crates.io-index" | 24 | source = "registry+https://github.com/rust-lang/crates.io-index" |
@@ -958,6 +963,7 @@ dependencies = [ | |||
958 | name = "ra_hir_def" | 963 | name = "ra_hir_def" |
959 | version = "0.1.0" | 964 | version = "0.1.0" |
960 | dependencies = [ | 965 | dependencies = [ |
966 | "anymap 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)", | ||
961 | "either 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)", | 967 | "either 1.5.3 (registry+https://github.com/rust-lang/crates.io-index)", |
962 | "insta 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", | 968 | "insta 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", |
963 | "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", | 969 | "log 0.4.8 (registry+https://github.com/rust-lang/crates.io-index)", |
@@ -1776,6 +1782,7 @@ dependencies = [ | |||
1776 | [metadata] | 1782 | [metadata] |
1777 | "checksum aho-corasick 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)" = "58fb5e95d83b38284460a5fda7d6470aa0b8844d283a0b614b8535e880800d2d" | 1783 | "checksum aho-corasick 0.7.6 (registry+https://github.com/rust-lang/crates.io-index)" = "58fb5e95d83b38284460a5fda7d6470aa0b8844d283a0b614b8535e880800d2d" |
1778 | "checksum anyhow 1.0.25 (registry+https://github.com/rust-lang/crates.io-index)" = "9267dff192e68f3399525901e709a48c1d3982c9c072fa32f2127a0cb0babf14" | 1784 | "checksum anyhow 1.0.25 (registry+https://github.com/rust-lang/crates.io-index)" = "9267dff192e68f3399525901e709a48c1d3982c9c072fa32f2127a0cb0babf14" |
1785 | "checksum anymap 0.12.1 (registry+https://github.com/rust-lang/crates.io-index)" = "33954243bd79057c2de7338850b85983a44588021f8a5fee574a8888c6de4344" | ||
1779 | "checksum arrayvec 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cff77d8686867eceff3105329d4698d96c2391c176d5d03adc90c7389162b5b8" | 1786 | "checksum arrayvec 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cff77d8686867eceff3105329d4698d96c2391c176d5d03adc90c7389162b5b8" |
1780 | "checksum atty 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)" = "1803c647a3ec87095e7ae7acfca019e98de5ec9a7d01343f611cf3152ed71a90" | 1787 | "checksum atty 0.2.13 (registry+https://github.com/rust-lang/crates.io-index)" = "1803c647a3ec87095e7ae7acfca019e98de5ec9a7d01343f611cf3152ed71a90" |
1781 | "checksum autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "1d49d90015b3c36167a20fe2810c5cd875ad504b39cff3d4eae7977e6b7c1cb2" | 1788 | "checksum autocfg 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "1d49d90015b3c36167a20fe2810c5cd875ad504b39cff3d4eae7977e6b7c1cb2" |