Skip to content

Commit 69854f7

Browse files
committed
Upgrade Chalk to published version
1 parent 9c52f52 commit 69854f7

File tree

3 files changed

+19
-10
lines changed

3 files changed

+19
-10
lines changed

Cargo.lock

Lines changed: 12 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/ra_hir_ty/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ test_utils = { path = "../test_utils" }
2727

2828
scoped-tls = "1"
2929

30-
chalk-solve = { git = "https://github.com/rust-lang/chalk.git", rev = "329b7f3fdd2431ed6f6778cde53f22374c7d094c" }
31-
chalk-ir = { git = "https://github.com/rust-lang/chalk.git", rev = "329b7f3fdd2431ed6f6778cde53f22374c7d094c" }
30+
chalk-solve = "0.11"
31+
chalk-ir = "0.11"
3232

3333
[dev-dependencies]
3434
insta = "0.16.0"

crates/ra_hir_ty/src/traits/chalk/mapping.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,11 @@ impl ToChalk for GenericPredicate {
447447
let ty = from_chalk(db, projection_eq.ty);
448448
GenericPredicate::Projection(ProjectionPredicate { projection_ty, ty })
449449
}
450+
451+
chalk_ir::WhereClause::LifetimeOutlives(_) => {
452+
// we shouldn't get these from Chalk
453+
panic!("encountered LifetimeOutlives from Chalk")
454+
}
450455
}
451456
}
452457
}

0 commit comments

Comments
 (0)