mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Requiring sizing layout interner for traits
This commit is contained in:
parent
69d5320958
commit
82e6982196
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ impl InternedLayouts {
|
|||
}
|
||||
}
|
||||
|
||||
pub trait LayoutInterner<'a>: Interner<'a, Layout<'a>> {
|
||||
pub trait LayoutInterner<'a>: Interner<'a, Layout<'a>> + Sized {
|
||||
fn alignment_bytes(&self, target_info: TargetInfo, layout: Interned<Layout<'a>>) -> u32 {
|
||||
self.get(layout).alignment_bytes(self, target_info)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue