We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
clean::Crate
1 parent e99963c commit 27d47d9Copy full SHA for 27d47d9
src/librustdoc/clean/types.rs
@@ -125,6 +125,10 @@ crate struct Crate {
125
crate collapsed: bool,
126
}
127
128
+// `Crate` is frequently moved by-value. Make sure it doesn't unintentionally get bigger.
129
+#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
130
+rustc_data_structures::static_assert_size!(Crate, 168);
131
+
132
/// This struct is used to wrap additional information added by rustdoc on a `trait` item.
133
#[derive(Clone, Debug)]
134
crate struct TraitWithExtraInfo {
0 commit comments