move from proc-macro-error2 to manyhow (fix RUSTSEC-2026-0173)#333
move from proc-macro-error2 to manyhow (fix RUSTSEC-2026-0173)#333FBranca wants to merge 2 commits into
Conversation
|
Thanks for the update! Could you please:
|
f9a767b to
3550e99
Compare
|
Here is sample of output error on a
The I'm struggling to get the ECDA recognized by github |
|
Could you provide a diff for errors, especially with a semantic error like an unbound variable? |
Just a suggestion, but I found trybuild really nice for this: https://docs.rs/trybuild/latest/trybuild/ (you can look at https://github.com/avandecreme/enum_convert to see an example usage) |
3550e99 to
3126afc
Compare
|
I retried linking my github account to eclipse this morning and this time it worked like a charm on the first try. Following the advice of @avandecreme I also added some tests using trybuild, but this comes with many dependencies : and a diff between a Of course there're all dev-dependencies. For now I pushed this on another branch that you can see here : https://github.com/FBranca/biscuit-rust/tree/proc-macro-error2-to-manyhow-with-trybuild This shows no change in error messages on tested error cases. For an unbound variable : Tell me if the added dependencies are OK. If so I'll include the commit in this merge request. |
See #332
proc-macro-error2 is no longer maintained, manyhow seems to be a good remplacement.