diff --git a/crates/ra_hir_ty/src/traits/chalk.rs b/crates/ra_hir_ty/src/traits/chalk.rs index 78d0bc43bc..5298dbecf9 100644 --- a/crates/ra_hir_ty/src/traits/chalk.rs +++ b/crates/ra_hir_ty/src/traits/chalk.rs @@ -54,7 +54,7 @@ impl<'a> chalk_solve::RustIrDatabase for ChalkContext<'a> { self.db.struct_datum(self.krate, struct_id) } fn adt_repr(&self, _struct_id: AdtId) -> rust_ir::AdtRepr { - unreachable!() + rust_ir::AdtRepr { repr_c: false, repr_packed: false } } fn impl_datum(&self, impl_id: ImplId) -> Arc { self.db.impl_datum(self.krate, impl_id)