error[E0588]: packed type cannot transitively contain a [repr(align)] type
does not clarify the transitive [repr(align)]
type
#67383
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I'm currently looking at an error
which would be fine except that the error message doesn't clarify at all what the problematic transitive dependency is. It would be nice to have a message like
With sufficiently complex nesting of structs, it can be incredibly tedious to track down which struct is
[repr(align)]
(especially when the offending struct is from an external library).The text was updated successfully, but these errors were encountered: