Update repr
to use the attribute template
#1899
Open
+169
−189
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New rules:
layout.repr.attribute.intro
layout.repr.attribute.syntax
layout.repr.attribute.allowed-positions
layout.repr.attribute.duplicates
layout.repr.attribute.combinations
layout.repr.attribute.combinations.transparent
layout.repr.attribute.combinations.rust
layout.repr.attribute.combinations.primitive
layout.repr.attribute.combinations.primitive-c
layout.repr.attribute.combinations.primitive-unit-only
layout.repr.attribute.combinations.align-packed
layout.repr.attribute.combinations.align-packed-rust-or-c
layout.repr.attribute.combinations.align-max
layout.repr.attribute.combinations.packed-min
layout.repr.attribute.combinations.rust-c-dupe
Renamed rules:
layout.repr.align-packed
is nowlayout.repr.alignment.intro
layout.repr.primitive.constraint
split intolayout.repr.primitive.enum-only
andlayout.repr.primitive.zero-variant
layout.repr.alignment.enum
is nowlayout.repr.alignment.align-enum
layout.repr.alignment.constraint-exclusive
split intolayout.repr.alignment.pack-transitive-aligned
andlayout.repr.alignment.packed-enum
layout.repr.transparent.constraint-exclusive
moved tolayout.repr.attribute.combinations