Skip to content

replace proc-macro-error2 with syn::Error & compile_error! - #4

Merged
tyt2y3 merged 1 commit into
SeaQL:masterfrom
fluiderson:iu9ygtfdr
Jul 18, 2026
Merged

replace proc-macro-error2 with syn::Error & compile_error!#4
tyt2y3 merged 1 commit into
SeaQL:masterfrom
fluiderson:iu9ygtfdr

Conversation

@fluiderson

@fluiderson fluiderson commented Jul 16, 2026

Copy link
Copy Markdown

PR Info

Changes

  • replace proc-macro-error2 with syn::Error/compile_error!

I know there's existing #3, but I believe proc-macro-error3 will follow the same fate as proc-macro-error2 and proc-macro-error. I replaced it with more a common approach, basically all abort!s were replaced with syn::Error that's converted into compile_error! in from_attributes. This probably bumps the MSRV, but compile_error was added about 7 years ago, so it should be fine.

@tyt2y3

tyt2y3 commented Jul 18, 2026

Copy link
Copy Markdown
Member

thank you

@tyt2y3
tyt2y3 merged commit 69863a9 into SeaQL:master Jul 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RUSTSEC-2026-0173 proc-macro-2 is now unmaintained

2 participants