reference icon indicating copy to clipboard operation
reference copied to clipboard

Update `non_exhaustive` to use the attribute template

Open ehuss opened this issue 6 months ago • 2 comments

New rules:

  • attributes.type-system.non_exhaustive.duplicates
  • attributes.type-system.non_exhaustive.enum-exhaustiveness
  • attributes.type-system.non_exhaustive.enum-cast
  • attributes.type-system.non_exhaustive.inhabited

Renamed rules:

  • attributes.type-system.non_exhaustive.external-crate moved to .intro because it is generally explaining the purpose.

ehuss avatar Jun 30 '25 23:06 ehuss

:umbrella: The latest upstream changes (possibly #2015) made this pull request unmergeable. Please resolve the merge conflicts.

rustbot avatar Sep 29 '25 00:09 rustbot

This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

rustbot avatar Sep 29 '25 07:09 rustbot