Skip to content

Conversation

ehuss
Copy link
Contributor

@ehuss ehuss commented Jun 30, 2025

New rules:

  • macro.proc.proc_macro.syntax
  • macro.proc.proc_macro.allowed-positions
  • macro.proc.proc_macro.duplicates

Renamed rules:

  • macro.proc.proc_macro is now macro.proc.proc_macro-crate
  • macro.proc.proc_macro.intro is now macro.proc.proc_macro-crate.intro
  • macro.proc.proc_macro.token-stream is now macro.proc.proc_macro-crate.token-stream
  • macro.proc.proc_macro.span is now macro.proc.proc_macro-crate.span
  • macro.proc.function is now macro.proc.proc_macro
  • macro.proc.function.intro is now macro.proc.proc_macro.intro
  • macro.proc.function.def split into macro.proc.proc_macro.syntax and macro.proc.proc_macro.behavior
  • macro.proc.function.namespace is now macro.proc.function.namespace
  • macro.proc.function.invocation is now macro.proc.function.invocation

@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 9 commits August 19, 2025 15:45
This renames this section to follow the attribute template. Although I
like the old title, since it describes what it does, I would prefer to
not make exceptions and stay consistent.
Trying to avoid conflict with the `proc_macro` attribute rule.
(Though that rule name may also change later.)
Reworded to follow the attribute template.
This is a slight rewording to clarify that the name of the function is
what is inserted in the root.
To follow the attribute template rename.
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