aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_ty
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-02-02 15:40:43 +0000
committerGitHub <[email protected]>2021-02-02 15:40:43 +0000
commit12e8cc4aa29f616e43b4951e18b1f1f231e539a3 (patch)
tree32b870bd9cf0e96d3c086c40febf5a9499f533af /crates/hir_ty
parent042e07d89171fa5dd8ba4fc572c183687382c0d7 (diff)
parent6b60206669fb0f48821cc16cf5fea09c2e310728 (diff)
Merge #7523
7523: Bump chalk and rustc_lexer r=lnicola a=lnicola bors r+ Co-authored-by: LaurenČ›iu Nicola <[email protected]>
Diffstat (limited to 'crates/hir_ty')
-rw-r--r--crates/hir_ty/Cargo.toml6
-rw-r--r--crates/hir_ty/src/traits/chalk.rs4
2 files changed, 5 insertions, 5 deletions
diff --git a/crates/hir_ty/Cargo.toml b/crates/hir_ty/Cargo.toml
index c7502bf57..f6bf49546 100644
--- a/crates/hir_ty/Cargo.toml
+++ b/crates/hir_ty/Cargo.toml
@@ -17,9 +17,9 @@ ena = "0.14.0"
17log = "0.4.8" 17log = "0.4.8"
18rustc-hash = "1.1.0" 18rustc-hash = "1.1.0"
19scoped-tls = "1" 19scoped-tls = "1"
20chalk-solve = { version = "0.51", default-features = false } 20chalk-solve = { version = "0.55", default-features = false }
21chalk-ir = "0.51" 21chalk-ir = "0.55"
22chalk-recursive = "0.51" 22chalk-recursive = "0.55"
23la-arena = { version = "0.2.0", path = "../../lib/arena" } 23la-arena = { version = "0.2.0", path = "../../lib/arena" }
24 24
25stdx = { path = "../stdx", version = "0.0.0" } 25stdx = { path = "../stdx", version = "0.0.0" }
diff --git a/crates/hir_ty/src/traits/chalk.rs b/crates/hir_ty/src/traits/chalk.rs
index cfb756158..d74c83737 100644
--- a/crates/hir_ty/src/traits/chalk.rs
+++ b/crates/hir_ty/src/traits/chalk.rs
@@ -675,7 +675,7 @@ pub(crate) fn fn_def_variance_query(
675) -> Variances { 675) -> Variances {
676 let callable_def: CallableDefId = from_chalk(db, fn_def_id); 676 let callable_def: CallableDefId = from_chalk(db, fn_def_id);
677 let generic_params = generics(db.upcast(), callable_def.into()); 677 let generic_params = generics(db.upcast(), callable_def.into());
678 Variances::from( 678 Variances::from_iter(
679 &Interner, 679 &Interner,
680 std::iter::repeat(chalk_ir::Variance::Invariant).take(generic_params.len()), 680 std::iter::repeat(chalk_ir::Variance::Invariant).take(generic_params.len()),
681 ) 681 )
@@ -688,7 +688,7 @@ pub(crate) fn adt_variance_query(
688) -> Variances { 688) -> Variances {
689 let adt: crate::AdtId = from_chalk(db, adt_id); 689 let adt: crate::AdtId = from_chalk(db, adt_id);
690 let generic_params = generics(db.upcast(), adt.into()); 690 let generic_params = generics(db.upcast(), adt.into());
691 Variances::from( 691 Variances::from_iter(
692 &Interner, 692 &Interner,
693 std::iter::repeat(chalk_ir::Variance::Invariant).take(generic_params.len()), 693 std::iter::repeat(chalk_ir::Variance::Invariant).take(generic_params.len()),
694 ) 694 )