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::GenericParamDef
1 parent 8db8f48 commit 9e60288Copy full SHA for 9e60288
src/librustdoc/clean/types.rs
@@ -1252,6 +1252,10 @@ crate struct GenericParamDef {
1252
crate kind: GenericParamDefKind,
1253
}
1254
1255
+// `GenericParamDef` is used in many places. Make sure it doesn't unintentionally get bigger.
1256
+#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
1257
+rustc_data_structures::static_assert_size!(GenericParamDef, 120);
1258
+
1259
impl GenericParamDef {
1260
crate fn is_synthetic_type_param(&self) -> bool {
1261
match self.kind {
0 commit comments