Add unmaintained advisory for proc-macro-error2

The crate owner has confirmed proc-macro-error2 is no longer maintained

in https://github.com/GnomedDev/proc-macro-error-2/issues/17.

Also removes proc-macro-error2 from the list of suggested alternatives in

the existing proc-macro-error advisory (RUSTSEC-2024-0370).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Sander Saares
2026-06-07 19:53:06 +03:00
committed by Dirkjan Ochtman
parent 8fe151aab7
commit dfd3306e15
2 changed files with 22 additions and 1 deletions

View File

@@ -19,5 +19,4 @@ proc-macro-error also depends on `syn 1.x`, which may be bringing duplicate depe
## Possible Alternative(s)
- [manyhow](https://crates.io/crates/manyhow)
- [proc-macro-error2](https://crates.io/crates/proc-macro-error2)
- [proc-macro2-diagnostics](https://github.com/SergioBenitez/proc-macro2-diagnostics)

View File

@@ -0,0 +1,22 @@
```toml
[advisory]
id = "RUSTSEC-0000-0000"
package = "proc-macro-error2"
date = "2026-06-07"
informational = "unmaintained"
url = "https://github.com/GnomedDev/proc-macro-error-2/issues/17"
[versions]
patched = []
```
# proc-macro-error2 is unmaintained
The author of `proc-macro-error2` has [confirmed](https://github.com/GnomedDev/proc-macro-error-2/issues/17#issuecomment-4643215473) that the crate is no longer maintained and recommends that users migrate away from it.
`proc-macro-error2` was originally created as a maintained fork of [`proc-macro-error`](https://crates.io/crates/proc-macro-error) (see [RUSTSEC-2024-0370](https://rustsec.org/advisories/RUSTSEC-2024-0370)). Both the original crate and this fork are now unmaintained.
## Possible Alternative(s)
- [manyhow](https://crates.io/crates/manyhow)
- [proc-macro2-diagnostics](https://github.com/SergioBenitez/proc-macro2-diagnostics)