Skip to content

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Jun 30, 2025

New rules:

  • attributes.diagnostics.deprecated.duplicates
  • attributes.diagnostics.deprecated.behavior
  • attributes.diagnostics.deprecated.generic-message
  • attributes.diagnostics.deprecated.message
  • attributes.diagnostics.deprecated.fields
  • attributes.diagnostics.deprecated.containers

Renamed rules:

  • attributes.diagnostic.deprecated.allowed-positions is now attributes.diagnostics.deprecated.allowed-positions (fixed typo)

@rustbot rustbot added the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Jun 30, 2025
This rewords the intro to be more general, as the details will be
included in separate rules.

This also moves the example into the intro.
Looking at the RFC, it doesn't seem like it offers any particular
insight or motivation that isn't already clear from what the attribute
does.

We still need a policy for how we refer to historical information like
this, but generally I'd lean away from it.
This is somewhat separate behavior, and I think it helps to discuss it
separately.
This updates it to use the attribute template format, and to split the
behaviors of the different forms into different rules so they can be
referenced.
More closely align with the template, and some minor word tweaks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: The marked PR is awaiting review from a maintainer
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants