make only used fields pub(crate)

This commit is contained in:
Folkert 2023-04-28 22:08:55 +02:00
parent a332d77756
commit 2e6c632fb4
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C

View file

@ -2177,11 +2177,11 @@ macro_rules! list_element_layout {
}
pub struct Env<'a, 'b> {
pub(crate) target_info: TargetInfo,
target_info: TargetInfo,
pub(crate) arena: &'a Bump,
pub(crate) seen: Vec<'a, Variable>,
seen: Vec<'a, Variable>,
pub(crate) subs: &'b Subs,
pub(crate) cache: &'b mut LayoutCache<'a>,
cache: &'b mut LayoutCache<'a>,
}
impl<'a, 'b> Env<'a, 'b> {