From 71d645101db8f3674ba5be4c55ac3732336ee4ba Mon Sep 17 00:00:00 2001 From: Florian Diebold Date: Sat, 11 Jul 2020 19:17:03 +0200 Subject: [PATCH] Upgrade Chalk --- Cargo.lock | 42 +++++++++++++++++++------------------ crates/ra_hir_ty/Cargo.toml | 5 +++-- 2 files changed, 25 insertions(+), 22 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8085f29d79..66ae19b1e4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -144,9 +144,9 @@ checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" [[package]] name = "chalk-derive" -version = "0.15.0" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c7379caa72d04103fcfd9bde5642b816f58e3ffd6a0d39347e9e35a066648226" +checksum = "9396f12a23b1a40d5019aa81bc0cbd7ccd2c9736d6bc4afc95868533c2346dcb" dependencies = [ "proc-macro2", "quote", @@ -154,36 +154,36 @@ dependencies = [ "synstructure", ] -[[package]] -name = "chalk-engine" -version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e8afe48b5663504b485791ab4fae69cf4864869a71ceec9c758fd4d03423722" -dependencies = [ - "chalk-derive", - "chalk-ir", - "rustc-hash", - "tracing", -] - [[package]] name = "chalk-ir" -version = "0.15.0" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "231e391a03c1fc45874171d92be9542efedc939bac59d9501ee28b9521feb406" +checksum = "87e9c67d500717d65ede27affb7ae40efe240d86fbefff1006fe0ffb62d4caf9" dependencies = [ "chalk-derive", "lazy_static", ] [[package]] -name = "chalk-solve" -version = "0.15.0" +name = "chalk-recursive" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72c969c0fd06ad50538253327ca3445ff02cc9d0209f94c3cbf198ad9d365b48" +checksum = "a8fd2ac0fc06c857b95614d229bbe8ea317d1d94a7e8b9442a3f05c9a2c2d5f4" +dependencies = [ + "chalk-derive", + "chalk-ir", + "chalk-solve", + "rustc-hash", + "tracing", +] + +[[package]] +name = "chalk-solve" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2a79166f2405c1e51eadcc1344f5ee833c7b391532dd78f64a0731a9a123cc58" dependencies = [ "chalk-derive", - "chalk-engine", "chalk-ir", "ena", "itertools", @@ -191,6 +191,7 @@ dependencies = [ "rustc-hash", "tracing", "tracing-subscriber", + "tracing-tree", ] [[package]] @@ -1133,6 +1134,7 @@ version = "0.1.0" dependencies = [ "arrayvec", "chalk-ir", + "chalk-recursive", "chalk-solve", "ena", "expect", diff --git a/crates/ra_hir_ty/Cargo.toml b/crates/ra_hir_ty/Cargo.toml index 3370230a18..90368220b9 100644 --- a/crates/ra_hir_ty/Cargo.toml +++ b/crates/ra_hir_ty/Cargo.toml @@ -27,8 +27,9 @@ test_utils = { path = "../test_utils" } scoped-tls = "1" -chalk-solve = { version = "0.15.0" } -chalk-ir = { version = "0.15.0" } +chalk-solve = { version = "0.17.0" } +chalk-ir = { version = "0.17.0" } +chalk-recursive = { version = "0.17.0" } [dev-dependencies] insta = "0.16.0"