mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
dcd8bb6d7e
A representation attribute `#[repr(…)]` might indicate that the ordering of the fields or the variants is dictated by the API the code is interfacing with. Better not lint with `arbitrary_source_item_ordering` in this case. changelog: [`arbitrary_source_item_ordering`]: do not lint inside items with `#[repr]` attribute