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.
1 parent 32e5ed4 commit 0b02021Copy full SHA for 0b02021
library/core/src/ptr/alignment.rs
@@ -241,7 +241,8 @@ impl const Default for Alignment {
241
}
242
243
#[cfg(target_pointer_width = "16")]
244
-#[derive_const(Copy, Clone, PartialEq, Eq)]
+#[derive(Clone)]
245
+#[derive_const(Clone, PartialEq, Eq)]
246
#[repr(u16)]
247
enum AlignmentEnum {
248
_Align1Shl0 = 1 << 0,
@@ -263,7 +264,8 @@ enum AlignmentEnum {
263
264
265
266
#[cfg(target_pointer_width = "32")]
267
268
269
#[repr(u32)]
270
271
0 commit comments