Skip to content

Conversation

@ehuss
Copy link
Contributor

@ehuss ehuss commented Jun 30, 2025

New rules:

  • attributes.diagnostics.lint.intro
  • attributes.diagnostics.lint.syntax
  • attributes.diagnostics.lint.allowed-positions
  • attributes.diagnostics.lint.duplicates

Renamed rules:

  • attributes.diagnostics.expect.intro is now attributes.diagnostics.expect.behavior

@rustbot rustbot added the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Jun 30, 2025
@rustbot

This comment has been minimized.

ehuss added 11 commits October 21, 2025 20:42
This is intended to be a general intro for all of the lint check
attributes, so name them here.
This adds the corresponding rules, and reworks a little to be explicit
about the syntax.
The style we have generally settled on is to *not* surround the name
of the attribute with `#[]`.
I'd like to avoid "intro" rules that are the core definition of a thing.
This moves the note so that it isn't dangling at the bottom of the
section. I generally would like to avoid these, since it isn't clear if
the note is tied to the previous rule, or the entire section. This seems
to fit with this rule better, anyways.
@rustbot
Copy link
Collaborator

rustbot commented Oct 21, 2025

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.

@ehuss
Copy link
Contributor Author

ehuss commented Oct 30, 2025

@traviscross I think when we were talking you said that you had some edits here but I don't think they got pushed up. Were they complete?

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