Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Display comptime assertion errors, not Debug (#5605)
# Description ## Problem\* Resolves <!-- Link to GitHub Issue --> ## Summary\* Changes: ``` error: FormatString("No derive function registered for `quote { Default }`", fmtstr<53, (Quoted)>) ┌─ /.../derive/src/main.nr:19:16 │ 19 │ assert(handler.is_some(), f"No derive function registered for `{trait_to_derive}`"); │ ----------------- Assertion failed │ ``` To: ``` error: No derive function registered for `quote { Default }` ┌─ /.../derive/src/main.nr:19:16 │ 19 │ assert(handler.is_some(), f"No derive function registered for `{trait_to_derive}`"); │ ----------------- Assertion failed │ ``` ## Additional Context ## Documentation\* Check one: - [x] No documentation needed. - [ ] Documentation included in this PR. - [ ] **[For Experimental Features]** Documentation to be submitted in a separate PR. # PR Checklist\* - [x] I have tested the changes locally. - [x] I have formatted the changes with [Prettier](https://prettier.io/) and/or `cargo fmt` on default settings.
- Loading branch information