Rollup merge of #113233 - Nilstrieb:chaaalk, r=jackh726
Update chalk For #109302 r? jackh726
This commit is contained in:
commit
fda22efbf0
4 changed files with 16 additions and 14 deletions
|
@ -7,7 +7,7 @@ edition = "2021"
|
|||
|
||||
[dependencies]
|
||||
bitflags = "1.2.1"
|
||||
chalk-ir = "0.87.0"
|
||||
chalk-ir = "0.92.0"
|
||||
derive_more = "0.99.17"
|
||||
either = "1.5.0"
|
||||
gsgdt = "0.1.2"
|
||||
|
|
|
@ -11,9 +11,9 @@ rustc_hir = { path = "../rustc_hir" }
|
|||
rustc_ast = { path = "../rustc_ast" }
|
||||
rustc_span = { path = "../rustc_span" }
|
||||
rustc_target = { path = "../rustc_target" }
|
||||
chalk-ir = "0.87.0"
|
||||
chalk-engine = "0.87.0"
|
||||
chalk-solve = "0.87.0"
|
||||
chalk-ir = "0.92.0"
|
||||
chalk-engine = "0.92.0"
|
||||
chalk-solve = "0.92.0"
|
||||
smallvec = { version = "1.8.1", features = ["union", "may_dangle"] }
|
||||
rustc_infer = { path = "../rustc_infer" }
|
||||
rustc_trait_selection = { path = "../rustc_trait_selection" }
|
||||
|
|
|
@ -572,6 +572,8 @@ impl<'tcx> chalk_solve::RustIrDatabase<RustInterner<'tcx>> for RustIrDatabase<'t
|
|||
DiscriminantKind => lang_items.discriminant_kind_trait(),
|
||||
DispatchFromDyn => lang_items.dispatch_from_dyn_trait(),
|
||||
Tuple => lang_items.tuple_trait(),
|
||||
Pointee => lang_items.pointee_trait(),
|
||||
FnPtr => lang_items.fn_ptr_trait(),
|
||||
};
|
||||
def_id.map(chalk_ir::TraitId)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue