about summary refs log tree commit diff
path: root/tests/coverage/branch/while.rs
diff options
context:
space:
mode:
authorAmy Kwan <amy.kwan1@ibm.com>2025-03-08 00:23:46 -0500
committerAmy Kwan <amy.kwan1@ibm.com>2025-03-08 00:23:46 -0500
commitf86a71dfbf35b36b1ce439f65dfe51f591688393 (patch)
tree9ea17ebd0b01bad70582d563ba57ef9b37a0e873 /tests/coverage/branch/while.rs
parentf5a1ef7121ad661b5a21a1d02941c8064d54ee0b (diff)
downloadrust-f86a71dfbf35b36b1ce439f65dfe51f591688393.tar.gz
rust-f86a71dfbf35b36b1ce439f65dfe51f591688393.zip
[AIX] Ignore linting on repr(C) structs with repr(packed) or repr(align(n))
This PR updates the lint added in 9b40bd7 to ignore repr(C) structs that also
have repr(packed) or repr(align(n)).

As these representations can be modifiers on repr(C), it is assumed that users
that add these should know what they are doing, and thus the the lint should not
warn on the respective structs. For example, for the time being, using
repr(packed) and manually padding a repr(C) struct can be done to correctly
align struct members on AIX.
Diffstat (limited to 'tests/coverage/branch/while.rs')
0 files changed, 0 insertions, 0 deletions