We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a4f5ac commit 4badbc9Copy full SHA for 4badbc9
text/3806-align-attr.md
@@ -375,3 +375,6 @@ fn foo(x: &u8) {
375
- We could add type-safe APIs for over-aligned pointers; for example,
376
over-aligned reference types that are subtypes of `&`/`&mut`.
377
- We could also add similar APIs for over-aligned function pointers.
378
+- We could loosen the restriction that fields of a `packed(n)` struct cannot
379
+ specify an alignment greater that `n`. (Apparently, some C compilers allow
380
+ something similar.)
0 commit comments