paritytech / paritytech/subxt

RUSTSEC-2026-0173: proc-macro-error2 is unmaintained

Open Beginner friendly
#2,238 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
489
Forks
293
Avg merge
18h 35m
Merged PRs (30d)
3

Description

As of RUSTSEC-2026-0173, proc-macro-error2 has been declared unmaintained and its repository has been archived.

The RUSTSEC advisory lists manyhow and proc-macro2-diagnostics as alternatives, but both require rewriting how errors are reported in your proc macros. proc-macro-error3 is a maintained fork and drop-in replacement - same API, no code changes beyond the dependency rename, so the switch is minimal and low-risk.

I maintain proc-macro-error3 and use it in my projects, mainly https://github.com/gungraun/gungraun. Would you be open to this switch? I'm happy to submit a PR if that would help.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the repository's Cargo manifests for proc-macro-error2 and inspect where the dependency is used. Replace the dependency with proc-macro-error3, then run the existing Rust test suite and confirm the project builds without changing the proc-macro API.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
build-system
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.