From e8d0d79a0c34f01e93763b37a58de7eb58a4d2cf Mon Sep 17 00:00:00 2001 From: Florian Diebold Date: Thu, 16 Apr 2020 12:39:00 +0200 Subject: Update Chalk --- crates/ra_hir_ty/src/traits/chalk.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'crates/ra_hir_ty/src') diff --git a/crates/ra_hir_ty/src/traits/chalk.rs b/crates/ra_hir_ty/src/traits/chalk.rs index 55eb0ffcb..b43e2a539 100644 --- a/crates/ra_hir_ty/src/traits/chalk.rs +++ b/crates/ra_hir_ty/src/traits/chalk.rs @@ -795,8 +795,9 @@ impl<'a> chalk_solve::RustIrDatabase for ChalkContext<'a> { fn well_known_trait_id( &self, _well_known_trait: chalk_rust_ir::WellKnownTrait, - ) -> chalk_ir::TraitId { - unimplemented!() + ) -> Option> { + // FIXME tell Chalk about well-known traits (here and in trait_datum) + None } } -- cgit v1.2.3