Auto merge of #26663 - Eljay:fix-repr-attribute, r=sanxiyn
Fixes #26646. Loops over all `#[repr(..)]` attributes instead of stopping at the first one to make sure they are all marked as used. Previously it stopped after the first `#[repr(C)]` was found causing all other attributes to be skipped by the linter.
Showing
src/test/run-pass/issue-26646.rs
0 → 100644
想要评论请 注册 或 登录