From 679557e44e7cf02a6ac4f06fec03d12f114cc889 Mon Sep 17 00:00:00 2001 From: Ayaz Hafiz Date: Tue, 27 Dec 2022 10:33:38 -0600 Subject: [PATCH] ProcLayout::new is crate-public --- crates/compiler/mono/src/ir.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/compiler/mono/src/ir.rs b/crates/compiler/mono/src/ir.rs index 80ac04b81b..12633cdc98 100644 --- a/crates/compiler/mono/src/ir.rs +++ b/crates/compiler/mono/src/ir.rs @@ -4003,7 +4003,7 @@ pub struct ProcLayout<'a> { } impl<'a> ProcLayout<'a> { - pub fn new( + pub(crate) fn new( arena: &'a Bump, old_arguments: &'a [Layout<'a>], old_captures_niche: CapturesNiche<'a>,