1
Fork 0

[AIX] Lint on structs that have a different alignment in AIX's C ABI

This commit is contained in:
Amy Kwan 2025-01-15 14:49:16 -05:00
parent 27f336106d
commit cd2ecc4b50
7 changed files with 411 additions and 16 deletions

View file

@ -1692,6 +1692,10 @@ pub(crate) struct OverflowingLiteral<'a> {
pub lit: String,
}
#[derive(LintDiagnostic)]
#[diag(lint_uses_power_alignment)]
pub(crate) struct UsesPowerAlignment;
#[derive(LintDiagnostic)]
#[diag(lint_unused_comparisons)]
pub(crate) struct UnusedComparisons;