Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Spark
Build and deploy intelligent apps
GitHub Models
Manage and compare prompts
MCP Registry
New
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
state:open label:A-decl-macros-2-0
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
rust-lang
/
rust
Public
Notifications
You must be signed in to change notification settings
Fork
14.1k
Star
108k
Code
Issues
5k+
Pull requests
908
Actions
Projects
9
Security
Uh oh!
There was an error while loading.
Please reload this page
.
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Draft release notes for 1.92
#149161 ·
cuviper
opened
on Nov 20, 2025
4
Issues
Search Issues
state
:
open
label
:
A-decl-macros-2-0
state:open label:A-decl-macros-2-0
Search
Labels
Milestones
New issue
Search results
Open
Closed
Exporting a <code>rustc_macro_transparency = "opaque"</code> macro from <code>std</code> spams <code>missing stability attribute</code> errors
A-decl-macros-2-0
Area: Declarative macros 2.0 (#39412)
Area: Declarative macros 2.0 (#39412)
A-hygiene
Area: Macro hygiene
Area: Macro hygiene
C-bug
Category: This is a bug.
Category: This is a bug.
F-decl_macro
`#![feature(decl_macro)]`
`#![feature(decl_macro)]`
F-staged_api
`#![feature(staged_api)]`
`#![feature(staged_api)]`
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
This issue may need triage. Remove it if it has been sufficiently triaged.
requires-internal-features
This issue requires the use of internal features.
This issue requires the use of internal features.
requires-nightly
This issue requires a nightly compiler in some way.
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
Status: Open.
#146993
In rust-lang/rust;
·
Jules-Bertholet
opened
on Sep 24, 2025
Diagnostic talks about and prints entire function *type* on private function in expansion of macro 2.0
A-decl-macros-2-0
Area: Declarative macros 2.0 (#39412)
Area: Declarative macros 2.0 (#39412)
A-diagnostics
Area: Messages for errors, warnings, and lints
Area: Messages for errors, warnings, and lints
A-visibility
Area: Visibility / privacy
Area: Visibility / privacy
D-confusing
Diagnostics: Confusing error or lint that should be reworked.
Diagnostics: Confusing error or lint that should be reworked.
D-verbose
Diagnostics: Too much output caused by a single piece of incorrect code.
Diagnostics: Too much output caused by a single piece of incorrect code.
F-decl_macro
`#![feature(decl_macro)]`
`#![feature(decl_macro)]`
P-low
Low priority
Low priority
requires-nightly
This issue requires a nightly compiler in some way.
This issue requires a nightly compiler in some way.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
Status: Open.
#143455
In rust-lang/rust;
·
fmease
opened
on Jul 4, 2025
Encountered incremental compilation error with find_field(a5f984281f1e0bb0-ee8ea99685b18732)
A-decl-macros-2-0
Area: Declarative macros 2.0 (#39412)
Area: Declarative macros 2.0 (#39412)
A-incr-comp
Area: Incremental compilation
Area: Incremental compilation
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
C-bug
Category: This is a bug.
Category: This is a bug.
F-decl_macro
`#![feature(decl_macro)]`
`#![feature(decl_macro)]`
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
S-needs-repro
Status: This issue has no reproduction and needs a reproduction to make progress.
Status: This issue has no reproduction and needs a reproduction to make progress.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
Status: Open.
#125678
In rust-lang/rust;
·
jflatow
opened
on May 28, 2024
Macro <code>literal</code> fragment specifiers should forward to exact tokens
A-decl-macros-2-0
Area: Declarative macros 2.0 (#39412)
Area: Declarative macros 2.0 (#39412)
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
A-maybe-future-edition
Something we may consider for a future edition.
Something we may consider for a future edition.
T-lang
Relevant to the language team
Relevant to the language team
WG-macros
Working group: Macros
Working group: Macros
Status: Open.
#124989
In rust-lang/rust;
·
tgross35
opened
on May 10, 2024
Associated item resolution fails when using both macros v2 and proc macros
A-decl-macros-2-0
Area: Declarative macros 2.0 (#39412)
Area: Declarative macros 2.0 (#39412)
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
A-proc-macros
Area: Procedural macros
Area: Procedural macros
A-resolve
Area: Name/path resolution done by `rustc_resolve` specifically
Area: Name/path resolution done by `rustc_resolve` specifically
C-bug
Category: This is a bug.
Category: This is a bug.
F-decl_macro
`#![feature(decl_macro)]`
`#![feature(decl_macro)]`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
Status: Open.
#113638
In rust-lang/rust;
·
Arc-blroth
opened
on Jul 13, 2023
New declarative macros, functions and fields not being recognized
A-decl-macros-2-0
Area: Declarative macros 2.0 (#39412)
Area: Declarative macros 2.0 (#39412)
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
C-discussion
Category: Discussion or questions that doesn't represent real issues.
Category: Discussion or questions that doesn't represent real issues.
F-decl_macro
`#![feature(decl_macro)]`
`#![feature(decl_macro)]`
requires-nightly
This issue requires a nightly compiler in some way.
This issue requires a nightly compiler in some way.
Status: Open.
#91249
In rust-lang/rust;
·
BeastLe9enD
opened
on Nov 26, 2021
Tracking issue for <code>Span::def_site()</code>
A-decl-macros-2-0
Area: Declarative macros 2.0 (#39412)
Area: Declarative macros 2.0 (#39412)
A-macros
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
Area: All kinds of macros (custom derive, macro_rules!, proc macros, ..)
A-proc-macros
Area: Procedural macros
Area: Procedural macros
B-unstable
Blocker: Implemented in the nightly compiler and unstable.
Blocker: Implemented in the nightly compiler and unstable.
C-tracking-issue
Category: An issue tracking the progress of sth. like the implementation of an RFC
Category: An issue tracking the progress of sth. like the implementation of an RFC
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
Libs-Tracked
Libs issues that are tracked on the team's project board.
Libs issues that are tracked on the team's project board.
S-tracking-needs-summary
Status: It's hard to tell what's been done and what hasn't! Someone should do some investigation.
Status: It's hard to tell what's been done and what hasn't! Someone should do some investigation.
T-lang
Relevant to the language team
Relevant to the language team
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Relevant to the library API team, which will review and decide on the PR/issue.
Status: Open.
#54724
In rust-lang/rust;
·
alexcrichton
opened
on Oct 1, 2018
Macros 2.0: macro defined and used in same function-like scope can't resolve its own items
A-decl-macros-2-0
Area: Declarative macros 2.0 (#39412)
Area: Declarative macros 2.0 (#39412)
A-resolve
Area: Name/path resolution done by `rustc_resolve` specifically
Area: Name/path resolution done by `rustc_resolve` specifically
F-decl_macro
`#![feature(decl_macro)]`
`#![feature(decl_macro)]`
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
Status: Open.
#52389
In rust-lang/rust;
·
arielb1
opened
on Jul 14, 2018
<code>Span</code> issues with <code>FromStr</code> in unstable <code>proc_macro</code>
A-decl-macros-2-0
Area: Declarative macros 2.0 (#39412)
Area: Declarative macros 2.0 (#39412)
C-bug
Category: This is a bug.
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
Status: Open.
#48944
In rust-lang/rust;
·
mystor
opened
on Mar 12, 2018
Compiling crate serde-derive with "-Z sanitizer=leak" fails
A-decl-macros-2-0
Area: Declarative macros 2.0 (#39412)
Area: Declarative macros 2.0 (#39412)
A-sanitizers
Area: Sanitizers for correctness and code quality
Area: Sanitizers for correctness and code quality
C-bug
Category: This is a bug.
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
Status: Open.
#48199
In rust-lang/rust;
·
djg
opened
on Feb 14, 2018
Extremely weird hygiene behavior when invoking a macro from the calling crate in a Derive
A-decl-macros-2-0
Area: Declarative macros 2.0 (#39412)
Area: Declarative macros 2.0 (#39412)
A-hygiene
Area: Macro hygiene
Area: Macro hygiene
C-bug
Category: This is a bug.
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Relevant to the compiler team, which will review and decide on the PR/issue.
Status: Open.
#47988
In rust-lang/rust;
·
sgrif
opened
on Feb 3, 2018
Editing proc-macro crate = undefined symbol
A-decl-macros-2-0
Area: Declarative macros 2.0 (#39412)
Area: Declarative macros 2.0 (#39412)
C-bug
Category: This is a bug.
Category: This is a bug.
Status: Open.
#47936
In rust-lang/rust;
·
sgrif
opened
on Feb 1, 2018
You can’t perform that action at this time.