Skip to content

Conversation

@nnethercote
Copy link
Contributor

Assorted cleanups I found while reading through this code.

`parsing_error` reads strangely. `parse_error` is much more normal.
- The first `@single_rule` rule just repeats the contents of the
  subsequent four `@single_rule` rules. So just call them.

- The subsequent four `@single_rule` rules don't need to handle
  repetition, because the first rule handles that.
Copy link
Member

@Firestar99 Firestar99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, just some minor things. It'll conflict with #447 on the compiletests blessings, but that's a minor fixup.

@nnethercote
Copy link
Contributor Author

Ok, two of the commits were removed based on @Firestar99's feedback.

@Firestar99 Firestar99 added this pull request to the merge queue Oct 22, 2025
Merged via the queue into Rust-GPU:main with commit 25d9da3 Oct 22, 2025
13 checks passed
@nnethercote nnethercote deleted the cleanups branch October 26, 2025 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants