3 ms·
This is why I generally avoid making new structs via macros, and why I personally dislike the popular error library snafu: breaking “go to definition” and codeb
by mplanchard 2y ago
This is why I generally avoid making new structs via macros, and why I personally dislike the popular error library snafu: breaking “go to definition” and codebase search really needs to be worth it IMO. It doesn’t feel as bad for proc macros that add methods for whatever reason for me, but having to use a type with an opaque definition hidden behind a macro really bugs me.
- Nullabillity 2y agoSnafu works fine with at least rust-analyzer's gotodef (though go-to-references is indeed broken by it :/).