onkoe / pisserror

A golden replacement for `thiserror`.
https://crates.io/crates/pisserror
MIT License
0 stars 0 forks source link

check for `#[error()]` attr without a variant #10

Closed onkoe closed 3 months ago

onkoe commented 3 months ago

the errors are currently kinda confusing for users...

it should notice before trying to match on... no types.

onkoe commented 3 months ago

oh i guess rust-analyzer does this for you when your matches are setup right