interner borrow

This commit is contained in:
J Teeuwissen 2023-04-24 14:33:41 +02:00 committed by GitHub
parent 7710170e68
commit 0f04cd7b0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1117,8 +1117,8 @@ impl<'a> ReuseEnvironment<'a> {
/** /**
Check if a layout can be reused. by verifying if the layout is a union and if the tag is not nullable. Check if a layout can be reused. by verifying if the layout is a union and if the tag is not nullable.
*/ */
fn symbol_layout_reusability<'a, 'i>( fn symbol_layout_reusability<'a>(
layout_interner: &'i STLayoutInterner<'a>, layout_interner: &STLayoutInterner<'a>,
environment: &ReuseEnvironment<'a>, environment: &ReuseEnvironment<'a>,
symbol: &Symbol, symbol: &Symbol,
layout: &InLayout<'a>, layout: &InLayout<'a>,