From 46afbc0588316cb3e5def6c8b4ccbaefdfaedb7f Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Sat, 23 Nov 2024 01:03:31 +0100 Subject: Split ID maps in two parts: the constant one and the updated one --- src/librustdoc/html/render/context.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/librustdoc/html/render') diff --git a/src/librustdoc/html/render/context.rs b/src/librustdoc/html/render/context.rs index 0b87c1bb62c..bc1f0423c17 100644 --- a/src/librustdoc/html/render/context.rs +++ b/src/librustdoc/html/render/context.rs @@ -87,12 +87,6 @@ impl ContextInfo { } } -// `Context` is cloned a lot, so we don't want the size to grow unexpectedly. -#[cfg(all(not(windows), target_pointer_width = "64"))] -rustc_data_structures::static_assert_size!(Context<'_>, 192); -#[cfg(all(windows, target_pointer_width = "64"))] -rustc_data_structures::static_assert_size!(Context<'_>, 200); - /// Shared mutable state used in [`Context`] and elsewhere. pub(crate) struct SharedContext<'tcx> { pub(crate) tcx: TyCtxt<'tcx>, -- cgit 1.4.1-3-g733a5