typeshare icon indicating copy to clipboard operation
typeshare copied to clipboard

More details in error messages

Open HHogg opened this issue 1 year ago • 1 comments

👋 I've annotated a lot of things with #[typeshare]. However when running the generator I get errors, like...

thread '<unnamed>' panicked at 'failed to parse a rust type: ["usize"]' thread '<unnamed>' panicked at 'failed to parse a rust type: ["usize"]' thread '<unnamed>' panicked at 'serde tag attribute needs to be specified for algebraic enum Transform.

The last error is really great as it lets me know where it is the enum Transform. The previous 2 would be really useful to have the name of the thing that is using usize.

HHogg avatar Apr 17 '23 20:04 HHogg

Hello, and thanks for submitting an issue! We will take a look at this soon!

LuminaSapphira avatar May 02 '23 20:05 LuminaSapphira