Update crates

Pulls in https://github.com/rust-lang/chalk/pull/682
This commit is contained in:
kjeremy 2021-02-08 11:38:51 -05:00
parent cbb42c10d6
commit 0c3b38695a
4 changed files with 23 additions and 22 deletions

View file

@ -193,8 +193,9 @@ impl chalk_ir::interner::Interner for Interner {
tls::with_current_program(|prog| Some(prog?.debug_quantified_where_clauses(clauses, fmt)))
}
fn intern_ty(&self, ty: chalk_ir::TyData<Self>) -> Arc<chalk_ir::TyData<Self>> {
Arc::new(ty)
fn intern_ty(&self, kind: chalk_ir::TyKind<Self>) -> Arc<chalk_ir::TyData<Self>> {
let flags = kind.compute_flags(self);
Arc::new(chalk_ir::TyData { kind, flags })
}
fn ty_data<'a>(&self, ty: &'a Arc<chalk_ir::TyData<Self>>) -> &'a chalk_ir::TyData<Self> {