bytecodealliance / bytecodealliance/wasm-tools
Support multiple packages with deps that have the same versions
- Dominant language
- Rust
- Stars
- 1.8k
- Forks
- 351
- Avg merge
- 16h 57m
- Merged PRs (30d)
- 38
Description
I mis-configured wit-bingen macro and got the error message:
```
proc macro panicked
message: assertion failed: prev.is_none()
```
When trying to debug it I tried using `cargo expand` and `cargo docs` to track down what I did wrong but the gave the same error.
After some digging and forking the various repositories, I eventually tracked the error message to this repo which has a bunch of asserts: https://github.com/search?q=repo%3Abytecodealliance%2Fwasm-tools%20%20prev.is_none&type=code
As a developer it would be nice to have a better error message for these asserts to improve the debugging experience.
Contributor guide
Assessment
This issue has not been assessed yet.