rust/compiler/rustc_resolve
Trevor Gross 804d1a194e
Rollup merge of #144579 - joshtriplett:mbe-attr, r=petrochenkov
Implement declarative (`macro_rules!`) attribute macros (RFC 3697)

This implements [RFC 3697](https://github.com/rust-lang/rust/issues/143547), "Declarative (`macro_rules!`) attribute macros".

I would suggest reading this commit-by-commit. This first introduces the
feature gate, then adds parsing for attribute rules (doing nothing with them),
then adds the ability to look up and apply `macro_rules!` attributes by path,
then adds support for local attributes, then adds a test, and finally makes
various improvements to errors.
2025-08-08 14:22:45 -05:00
..
src Rollup merge of #144579 - joshtriplett:mbe-attr, r=petrochenkov 2025-08-08 14:22:45 -05:00
Cargo.toml Rollup merge of #144746 - petrochenkov:extpreltidy, r=b-naber 2025-08-04 11:24:39 +10:00
messages.ftl mbe: Fix error message for using a macro with no attr rules as an attribute 2025-08-08 11:01:12 -07:00