mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-27 20:35:09 +00:00
Specify default adt representation for chalk integration
This commit is contained in:
parent
130e7632ac
commit
e11006986a
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ impl<'a> chalk_solve::RustIrDatabase<Interner> for ChalkContext<'a> {
|
||||||
self.db.struct_datum(self.krate, struct_id)
|
self.db.struct_datum(self.krate, struct_id)
|
||||||
}
|
}
|
||||||
fn adt_repr(&self, _struct_id: AdtId) -> rust_ir::AdtRepr {
|
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<ImplDatum> {
|
fn impl_datum(&self, impl_id: ImplId) -> Arc<ImplDatum> {
|
||||||
self.db.impl_datum(self.krate, impl_id)
|
self.db.impl_datum(self.krate, impl_id)
|
||||||
|
|
Loading…
Reference in a new issue